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.
Auto Trait Implementations§
impl Freeze for Invite3pidInit
impl RefUnwindSafe for Invite3pidInit
impl Send for Invite3pidInit
impl Sync for Invite3pidInit
impl Unpin for Invite3pidInit
impl UnwindSafe for Invite3pidInit
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more