pub struct Invite3pidInit {
pub id_server: String,
pub id_access_token: String,
pub medium: Medium,
pub address: String,
}
Available on (crate features
client-api-c
or client-api-s
) and (crate features client
or server
) and crate feature api
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) -> Invite3pid
fn from(init: Invite3pidInit) -> Invite3pid
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