[−][src]Struct ruma_events::room::third_party_invite::ThirdPartyInviteEvent
An invitation to a room issued to a third party identifier, rather than a matrix user ID.
Acts as an m.room.member invite event, where there isn't a target user_id to invite. This event contains a token and a public key whose private key must be used to sign the token. Any user who can present that signature may use this invitation to join the target room.
Fields
content: ThirdPartyInviteEventContent
The event's content.
event_id: EventId
The unique identifier for the event.
origin_server_ts: UInt
Timestamp (milliseconds since the UNIX epoch) on originating homeserver when this event was sent.
prev_content: Option<ThirdPartyInviteEventContent>
The previous content for this state key, if any.
room_id: Option<RoomId>
The unique identifier for the room associated with this event.
sender: UserId
The unique identifier for the user who sent this event.
state_key: String
A key that determines which piece of room state the event represents.
unsigned: Map<String, Value>
Additional key-value pairs not signed by the homeserver.
Trait Implementations
impl Clone for ThirdPartyInviteEvent
[src]
fn clone(&self) -> ThirdPartyInviteEvent
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for ThirdPartyInviteEvent
[src]
impl Event for ThirdPartyInviteEvent
[src]
type Content = ThirdPartyInviteEventContent
The type of this event's content
field.
fn content(&self) -> &Self::Content
[src]
The event's content.
fn event_type(&self) -> EventType
[src]
The type of the event.
impl From<ThirdPartyInviteEvent> for Event
[src]
fn from(event: ThirdPartyInviteEvent) -> Self
[src]
impl From<ThirdPartyInviteEvent> for RoomEvent
[src]
fn from(event: ThirdPartyInviteEvent) -> Self
[src]
impl From<ThirdPartyInviteEvent> for StateEvent
[src]
fn from(event: ThirdPartyInviteEvent) -> Self
[src]
impl FromRaw for ThirdPartyInviteEvent
[src]
impl PartialEq<ThirdPartyInviteEvent> for ThirdPartyInviteEvent
[src]
fn eq(&self, other: &ThirdPartyInviteEvent) -> bool
[src]
fn ne(&self, other: &ThirdPartyInviteEvent) -> bool
[src]
impl RoomEvent for ThirdPartyInviteEvent
[src]
fn event_id(&self) -> &EventId
[src]
The unique identifier for the event.
fn origin_server_ts(&self) -> UInt
[src]
Timestamp (milliseconds since the UNIX epoch) on originating homeserver when this event was sent.
fn room_id(&self) -> Option<&RoomId>
[src]
The unique identifier for the room associated with this event.
This can be None
if the event came from a context where there is
no ambiguity which room it belongs to, like a /sync
response for example.
fn sender(&self) -> &UserId
[src]
The unique identifier for the user who sent this event.
fn unsigned(&self) -> &Map<String, Value>
[src]
Additional key-value pairs not signed by the homeserver.
impl Serialize for ThirdPartyInviteEvent
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StateEvent for ThirdPartyInviteEvent
[src]
fn prev_content(&self) -> Option<&Self::Content>
[src]
The previous content for this state key, if any.
fn state_key(&self) -> &str
[src]
A key that determines which piece of room state the event represents.
impl StructuralPartialEq for ThirdPartyInviteEvent
[src]
Auto Trait Implementations
impl RefUnwindSafe for ThirdPartyInviteEvent
impl Send for ThirdPartyInviteEvent
impl Sync for ThirdPartyInviteEvent
impl Unpin for ThirdPartyInviteEvent
impl UnwindSafe for ThirdPartyInviteEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,