pub struct Invite3pid<'a> {
pub id_server: &'a str,
pub id_access_token: &'a str,
pub medium: Medium,
pub address: &'a str,
}Available on crate features
client or server only.Expand description
Represents third party IDs to invite to the room.
To create an instance of this type, first create a Invite3pidInit and convert it via
Invite3pid::from / .into().
Fields§
§id_server: &'a strHostname and port of identity server to be used for account lookups.
id_access_token: &'a strAn access token registered with the identity server.
medium: MediumType of third party ID.
address: &'a strThird party identifier.
Trait Implementations§
Source§impl<'a> Clone for Invite3pid<'a>
impl<'a> Clone for Invite3pid<'a>
Source§fn clone(&self) -> Invite3pid<'a>
fn clone(&self) -> Invite3pid<'a>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for Invite3pid<'a>
impl<'a> Debug for Invite3pid<'a>
Source§impl<'a> From<Invite3pidInit<'a>> for Invite3pid<'a>
impl<'a> From<Invite3pidInit<'a>> for Invite3pid<'a>
Source§fn from(init: Invite3pidInit<'a>) -> Self
fn from(init: Invite3pidInit<'a>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<'a> Freeze for Invite3pid<'a>
impl<'a> RefUnwindSafe for Invite3pid<'a>
impl<'a> Send for Invite3pid<'a>
impl<'a> Sync for Invite3pid<'a>
impl<'a> Unpin for Invite3pid<'a>
impl<'a> UnwindSafe for Invite3pid<'a>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)