Struct ruma_client_api::membership::Invite3pidInit
source · pub struct Invite3pidInit {
pub id_server: String,
pub id_access_token: String,
pub medium: Medium,
pub address: String,
}
Available on crate features
client
or server
only.Expand description
Initial set of fields of Invite3pid
.
This struct will not be updated even if additional fields are added to Invite3pid
in a new
(non-breaking) release of the Matrix specification.
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§
source§impl Debug for Invite3pidInit
impl Debug for Invite3pidInit
source§impl From<Invite3pidInit> for Invite3pid
impl From<Invite3pidInit> for Invite3pid
source§fn from(init: Invite3pidInit) -> Self
fn from(init: Invite3pidInit) -> Self
Converts to this type from the input type.