Struct matrix_sdk::ruma::api::client::membership::Invite3pidInit
pub struct Invite3pidInit {
pub id_server: String,
pub id_access_token: String,
pub medium: Medium,
pub address: String,
}
Available on crate feature
api
and (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§
§impl Debug for Invite3pidInit
impl Debug for Invite3pidInit
§impl From<Invite3pidInit> for Invite3pid
impl From<Invite3pidInit> for Invite3pid
§fn from(init: Invite3pidInit) -> Invite3pid
fn from(init: Invite3pidInit) -> Invite3pid
Converts to this type from the input type.
Auto Trait Implementations§
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
§impl<T> CompatExt for T
impl<T> CompatExt for T
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
§fn new_handle(value: Arc<T>) -> Handle
fn new_handle(value: Arc<T>) -> Handle
Create a new handle for an Arc value Read more
§fn clone_handle(handle: Handle) -> Handle
fn clone_handle(handle: Handle) -> Handle
Clone a handle Read more
§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>