pub struct MatrixAuth {
pub access_token: String,
pub user_id: Option<String>,
pub device_id: Option<String>,
}Fields§
§access_token: String§user_id: Option<String>§device_id: Option<String>Implementations§
Source§impl MatrixAuth
impl MatrixAuth
Trait Implementations§
Source§impl Clone for MatrixAuth
impl Clone for MatrixAuth
Source§fn clone(&self) -> MatrixAuth
fn clone(&self) -> MatrixAuth
Returns a duplicate 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 Debug for MatrixAuth
impl Debug for MatrixAuth
Source§impl Default for MatrixAuth
impl Default for MatrixAuth
Source§fn default() -> MatrixAuth
fn default() -> MatrixAuth
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MatrixAuth
impl RefUnwindSafe for MatrixAuth
impl Send for MatrixAuth
impl Sync for MatrixAuth
impl Unpin for MatrixAuth
impl UnsafeUnpin for MatrixAuth
impl UnwindSafe for MatrixAuth
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