pub struct RegistrationToken<'a> {
pub token: &'a str,
pub session: Option<&'a str>,
}Available on crate features
client or server only.Expand description
Data for registration token-based UIAA flow.
See the spec for how to use this.
Fields§
§token: &'a strThe registration token.
session: Option<&'a str>The value of the session key given by the homeserver, if any.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for RegistrationToken<'a>
impl<'a> Clone for RegistrationToken<'a>
Source§fn clone(&self) -> RegistrationToken<'a>
fn clone(&self) -> RegistrationToken<'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 RegistrationToken<'a>
impl<'a> Debug for RegistrationToken<'a>
Auto Trait Implementations§
impl<'a> Freeze for RegistrationToken<'a>
impl<'a> RefUnwindSafe for RegistrationToken<'a>
impl<'a> Send for RegistrationToken<'a>
impl<'a> Sync for RegistrationToken<'a>
impl<'a> Unpin for RegistrationToken<'a>
impl<'a> UnwindSafe for RegistrationToken<'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)