Struct ruma_events::relation::Relations [−][src]
pub struct Relations { pub annotation: Option<AnnotationChunk>, }
This is supported on crate feature
unstable-pre-spec
only.Expand description
Precompiled list of relations to this event grouped by relation type.
Fields
annotation: Option<AnnotationChunk>
Annotation relations.
Implementations
Creates a new Relations
with the given annotation.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for Relations
impl UnwindSafe for Relations
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V