pub struct V6Pdu {
pub common: PduCommon,
pub prev_events: Vec<OwnedEventId>,
pub auth_events: Vec<OwnedEventId>,
pub depth: u64,
}Expand description
PDU representation for room version formats V6-V11.
Fields§
§common: PduCommonCommon PDU fields.
prev_events: Vec<OwnedEventId>Previous event IDs.
auth_events: Vec<OwnedEventId>Auth event IDs.
depth: u64Depth of the event
Trait Implementations§
Source§impl Event for V6Pdu
impl Event for V6Pdu
Source§fn origin_server_ts(&self) -> MilliSecondsSinceUnixEpoch
fn origin_server_ts(&self) -> MilliSecondsSinceUnixEpoch
The time of creation on the originating server.
Source§fn event_type(&self) -> &TimelineEventType
fn event_type(&self) -> &TimelineEventType
The event type.
Source§fn content(&self) -> &RawJsonValue
fn content(&self) -> &RawJsonValue
The event’s content.
Source§fn prev_events(&self) -> Box<dyn DoubleEndedIterator<Item = &Self::Id> + '_>
fn prev_events(&self) -> Box<dyn DoubleEndedIterator<Item = &Self::Id> + '_>
The events before this event.
Source§fn auth_events(&self) -> Box<dyn DoubleEndedIterator<Item = &Self::Id> + '_>
fn auth_events(&self) -> Box<dyn DoubleEndedIterator<Item = &Self::Id> + '_>
All the authenticating events for this event.
Auto Trait Implementations§
impl Freeze for V6Pdu
impl RefUnwindSafe for V6Pdu
impl Send for V6Pdu
impl Sync for V6Pdu
impl Unpin for V6Pdu
impl UnsafeUnpin for V6Pdu
impl UnwindSafe for V6Pdu
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