pub struct TimelineEvent {
pub event: Raw<AnyTimelineEvent>,
pub encryption_info: Option<EncryptionInfo>,
pub push_actions: Option<Vec<Action>>,
}
Fields§
§event: Raw<AnyTimelineEvent>
The actual event.
encryption_info: Option<EncryptionInfo>
The encryption info about the event. Will be None
if the event was not
encrypted.
push_actions: Option<Vec<Action>>
The push actions associated with this event, if we had sufficient context to compute them.
Implementations§
source§impl TimelineEvent
impl TimelineEvent
Trait Implementations§
source§impl Clone for TimelineEvent
impl Clone for TimelineEvent
source§fn clone(&self) -> TimelineEvent
fn clone(&self) -> TimelineEvent
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 TimelineEvent
impl Debug for TimelineEvent
source§impl From<TimelineEvent> for SyncTimelineEvent
impl From<TimelineEvent> for SyncTimelineEvent
source§fn from(o: TimelineEvent) -> Self
fn from(o: TimelineEvent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for TimelineEvent
impl Send for TimelineEvent
impl Sync for TimelineEvent
impl Unpin for TimelineEvent
impl UnwindSafe for TimelineEvent
Blanket Implementations§
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