pub struct Relations {
pub annotation: Option<AnnotationChunk>,
pub replace: Option<BundledReplacement>,
pub thread: Option<BundledThread>,
}
Available on crate feature
events
only.Expand description
Bundled aggregations of related child events.
Fields
annotation: Option<AnnotationChunk>
Available on crate feature
unstable-msc2677
only.Annotation relations.
replace: Option<BundledReplacement>
Available on crate feature
unstable-msc2676
only.Replacement relation.
thread: Option<BundledThread>
Available on crate feature
unstable-msc3440
only.Thread relation.
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Relations
impl<'de> Deserialize<'de> for Relations
sourcefn 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 Send for Relations
impl Sync for Relations
impl Unpin for Relations
impl UnwindSafe for Relations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more