[][src]Struct ruma_events::stripped::StrippedStateEvent

pub struct StrippedStateEvent<C> {
    pub content: C,
    pub event_type: EventType,
    pub state_key: String,
    pub sender: UserId,
}

A "stripped-down" version of a core state event.

Fields

content: C

Data specific to the event type.

event_type: EventType

The type of the event.

state_key: String

A key that determines which piece of room state the event represents.

sender: UserId

The unique identifier for the user who sent this event.

Trait Implementations

impl<C: Clone> Clone for StrippedStateEvent<C>[src]

impl<C: Debug> Debug for StrippedStateEvent<C>[src]

impl<'de, C> Deserialize<'de> for StrippedStateEvent<C> where
    C: DeserializeOwned
[src]

impl<C: PartialEq> PartialEq<StrippedStateEvent<C>> for StrippedStateEvent<C>[src]

impl<C> Serialize for StrippedStateEvent<C> where
    C: Serialize
[src]

impl<C> StructuralPartialEq for StrippedStateEvent<C>[src]

impl<C> TryFromRaw for StrippedStateEvent<C> where
    C: TryFromRaw
[src]

type Raw = StrippedStateEvent<C::Raw>

The raw type.

type Err = C::Err

The error type returned if conversion fails.

Auto Trait Implementations

impl<C> RefUnwindSafe for StrippedStateEvent<C> where
    C: RefUnwindSafe

impl<C> Send for StrippedStateEvent<C> where
    C: Send

impl<C> Sync for StrippedStateEvent<C> where
    C: Sync

impl<C> Unpin for StrippedStateEvent<C> where
    C: Unpin

impl<C> UnwindSafe for StrippedStateEvent<C> where
    C: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,