pub struct CustomStateEventContent;Trait Implementations§
Source§impl Clone for CustomStateEventContent
impl Clone for CustomStateEventContent
Source§fn clone(&self) -> CustomStateEventContent
fn clone(&self) -> CustomStateEventContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CustomStateEventContent
impl Debug for CustomStateEventContent
Source§impl Default for CustomStateEventContent
impl Default for CustomStateEventContent
Source§fn default() -> CustomStateEventContent
fn default() -> CustomStateEventContent
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CustomStateEventContent
impl<'de> Deserialize<'de> for CustomStateEventContent
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl JsonCastable<Map<String, Value>> for CustomStateEventContent
impl JsonCastable<RedactedCustomStateEventContent> for CustomStateEventContent
Source§impl PossiblyRedactedStateEventContent for CustomStateEventContent
impl PossiblyRedactedStateEventContent for CustomStateEventContent
Source§impl RedactContent for CustomStateEventContent
impl RedactContent for CustomStateEventContent
Source§type Redacted = RedactedCustomStateEventContent
type Redacted = RedactedCustomStateEventContent
The redacted form of the event’s content.
Source§fn redact(self, _rules: &RedactionRules) -> RedactedCustomStateEventContent
fn redact(self, _rules: &RedactionRules) -> RedactedCustomStateEventContent
Transform
self into a redacted form (removing most or all fields) according to the spec. Read moreSource§impl Serialize for CustomStateEventContent
impl Serialize for CustomStateEventContent
Source§impl StateEventContent for CustomStateEventContent
impl StateEventContent for CustomStateEventContent
Source§impl StaticEventContent for CustomStateEventContent
impl StaticEventContent for CustomStateEventContent
Source§impl StaticStateEventContent for CustomStateEventContent
impl StaticStateEventContent for CustomStateEventContent
Source§type PossiblyRedacted = CustomStateEventContent
type PossiblyRedacted = CustomStateEventContent
The possibly redacted form of the event’s content.
Source§type Unsigned = StateUnsigned<<CustomStateEventContent as StaticStateEventContent>::PossiblyRedacted>
type Unsigned = StateUnsigned<<CustomStateEventContent as StaticStateEventContent>::PossiblyRedacted>
The type of the event’s
unsigned field.Auto Trait Implementations§
impl Freeze for CustomStateEventContent
impl RefUnwindSafe for CustomStateEventContent
impl Send for CustomStateEventContent
impl Sync for CustomStateEventContent
impl Unpin for CustomStateEventContent
impl UnsafeUnpin for CustomStateEventContent
impl UnwindSafe for CustomStateEventContent
Blanket Implementations§
impl<T> AsyncTraitDeps for Twhere
T: Debug + SendOutsideWasm + SyncOutsideWasm,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> CompatExt for T
impl<T> CompatExt for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> EventContentFromType for Twhere
T: StaticEventContent + DeserializeOwned,
impl<T> EventContentFromType for Twhere
T: StaticEventContent + DeserializeOwned,
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§unsafe fn clone_handle(handle: Handle) -> Handle
unsafe fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§unsafe fn consume_handle(handle: Handle) -> Arc<T>
unsafe fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<> Read more