Struct ruma_common::canonical_json::RedactedBecause
source · pub struct RedactedBecause(_);Available on crate feature
canonical-json only.Expand description
The value to put in unsigned.redacted_because.
See From implementations for ways to create an instance of this type.
Trait Implementations§
source§impl Clone for RedactedBecause
impl Clone for RedactedBecause
source§fn clone(&self) -> RedactedBecause
fn clone(&self) -> RedactedBecause
Returns a copy of the value. Read more
1.0.0 · 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 RedactedBecause
impl Debug for RedactedBecause
source§impl From<BTreeMap<String, CanonicalJsonValue, Global>> for RedactedBecause
impl From<BTreeMap<String, CanonicalJsonValue, Global>> for RedactedBecause
source§fn from(obj: CanonicalJsonObject) -> Self
fn from(obj: CanonicalJsonObject) -> Self
Converts to this type from the input type.
source§impl TryFrom<&Raw<OriginalRoomRedactionEvent>> for RedactedBecause
Available on crate feature events only.
impl TryFrom<&Raw<OriginalRoomRedactionEvent>> for RedactedBecause
Available on crate feature
events only.source§impl TryFrom<&Raw<OriginalSyncRoomRedactionEvent>> for RedactedBecause
Available on crate feature events only.
impl TryFrom<&Raw<OriginalSyncRoomRedactionEvent>> for RedactedBecause
Available on crate feature
events only.