pub struct EventContentV1 {
pub event_type: u32,
}Expand description
Event message content (content_type = 4)
Represents room events like joins and leaves. These are authored by the member performing the action and count as messages for pruning purposes.
Fields§
§event_type: u32Implementations§
Trait Implementations§
Source§impl Clone for EventContentV1
impl Clone for EventContentV1
Source§fn clone(&self) -> EventContentV1
fn clone(&self) -> EventContentV1
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 EventContentV1
impl Debug for EventContentV1
Source§impl<'de> Deserialize<'de> for EventContentV1
impl<'de> Deserialize<'de> for EventContentV1
Source§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
Source§impl PartialEq for EventContentV1
impl PartialEq for EventContentV1
Source§fn eq(&self, other: &EventContentV1) -> bool
fn eq(&self, other: &EventContentV1) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EventContentV1
impl Serialize for EventContentV1
impl StructuralPartialEq for EventContentV1
Auto Trait Implementations§
impl Freeze for EventContentV1
impl RefUnwindSafe for EventContentV1
impl Send for EventContentV1
impl Sync for EventContentV1
impl Unpin for EventContentV1
impl UnsafeUnpin for EventContentV1
impl UnwindSafe for EventContentV1
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