Struct ruma::api::client::r0::membership::IncomingInvite3pid [−][src]
pub struct IncomingInvite3pid {
pub id_server: String,
pub id_access_token: String,
pub medium: Medium,
pub address: String,
}
api
and (crate features client-api
or client-api-c
or client-api-s
) only.Expand description
‘Incoming’ variant of Invite3pid.
Fields
id_server: String
Hostname and port of identity server to be used for account lookups.
id_access_token: String
An access token registered with the identity server.
medium: Medium
Type of third party ID.
address: String
Third party identifier.
Trait Implementations
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IncomingInvite3pid, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
pub fn deserialize<__D>(
__deserializer: __D
) -> Result<IncomingInvite3pid, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IncomingInvite3pid
impl Send for IncomingInvite3pid
impl Sync for IncomingInvite3pid
impl Unpin for IncomingInvite3pid
impl UnwindSafe for IncomingInvite3pid
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more