#[non_exhaustive]pub struct RedactedCustomStateEventContent {}Expand description
Redacted form of CustomStateEventContent
Implementations§
Trait Implementations§
Source§impl Clone for RedactedCustomStateEventContent
impl Clone for RedactedCustomStateEventContent
Source§fn clone(&self) -> RedactedCustomStateEventContent
fn clone(&self) -> RedactedCustomStateEventContent
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<'de> Deserialize<'de> for RedactedCustomStateEventContent
impl<'de> Deserialize<'de> for RedactedCustomStateEventContent
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
Source§impl From<RedactedCustomStateEventContent> for PossiblyRedactedCustomStateEventContent
impl From<RedactedCustomStateEventContent> for PossiblyRedactedCustomStateEventContent
Source§fn from(
value: RedactedCustomStateEventContent,
) -> PossiblyRedactedCustomStateEventContent
fn from( value: RedactedCustomStateEventContent, ) -> PossiblyRedactedCustomStateEventContent
Converts to this type from the input type.
impl JsonCastable<Map<String, Value>> for RedactedCustomStateEventContent
impl JsonCastable<RedactedCustomStateEventContent> for CustomStateEventContent
Source§impl RedactedStateEventContent for RedactedCustomStateEventContent
impl RedactedStateEventContent for RedactedCustomStateEventContent
Source§fn event_type(&self) -> StateEventType
fn event_type(&self) -> StateEventType
Get the event’s type, like
m.room.name.Auto Trait Implementations§
impl Freeze for RedactedCustomStateEventContent
impl RefUnwindSafe for RedactedCustomStateEventContent
impl Send for RedactedCustomStateEventContent
impl Sync for RedactedCustomStateEventContent
impl Unpin for RedactedCustomStateEventContent
impl UnsafeUnpin for RedactedCustomStateEventContent
impl UnwindSafe for RedactedCustomStateEventContent
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