pub struct SyncTimelineEvent {
pub event: Raw<AnySyncTimelineEvent>,
pub encryption_info: Option<EncryptionInfo>,
}Expand description
A customized version of a room event coming from a sync that holds optional encryption info.
Fields
event: Raw<AnySyncTimelineEvent>The actual event.
encryption_info: Option<EncryptionInfo>The encryption info about the event. Will be None if the event was not
encrypted.
Implementations
Trait Implementations
sourceimpl Clone for SyncTimelineEvent
impl Clone for SyncTimelineEvent
sourcefn clone(&self) -> SyncTimelineEvent
fn clone(&self) -> SyncTimelineEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SyncTimelineEvent
impl Debug for SyncTimelineEvent
sourceimpl<'de> Deserialize<'de> for SyncTimelineEvent
impl<'de> Deserialize<'de> for SyncTimelineEvent
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
sourceimpl From<Raw<AnySyncTimelineEvent>> for SyncTimelineEvent
impl From<Raw<AnySyncTimelineEvent>> for SyncTimelineEvent
sourceimpl From<TimelineEvent> for SyncTimelineEvent
impl From<TimelineEvent> for SyncTimelineEvent
sourcefn from(o: TimelineEvent) -> Self
fn from(o: TimelineEvent) -> Self
Converts to this type from the input type.
sourceimpl Serialize for SyncTimelineEvent
impl Serialize for SyncTimelineEvent
Auto Trait Implementations
impl RefUnwindSafe for SyncTimelineEvent
impl Send for SyncTimelineEvent
impl Sync for SyncTimelineEvent
impl Unpin for SyncTimelineEvent
impl UnwindSafe for SyncTimelineEvent
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