Struct ruma_events::room::member::ThirdPartyInvite [−][src]
pub struct ThirdPartyInvite { pub display_name: String, pub signed: SignedContent, }
Expand description
Information about a third party invitation.
Fields
display_name: String
A name which can be displayed to represent the user instead of their third party identifier.
signed: SignedContent
A block of content which has been signed, which servers can use to verify the event.
Clients should ignore this.
Implementations
Creates a new ThirdPartyInvite
with the given display name and signed content.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ThirdPartyInvite
impl Send for ThirdPartyInvite
impl Sync for ThirdPartyInvite
impl Unpin for ThirdPartyInvite
impl UnwindSafe for ThirdPartyInvite
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more