Struct matrix_sdk_base::SessionMeta
source · [−]pub struct SessionMeta {
pub user_id: OwnedUserId,
pub device_id: OwnedDeviceId,
}Expand description
The immutable parts of the session: the user ID and device ID.
Fields
user_id: OwnedUserIdThe user the access token was issued for.
device_id: OwnedDeviceIdThe ID of the client device.
Trait Implementations
sourceimpl Clone for SessionMeta
impl Clone for SessionMeta
sourcefn clone(&self) -> SessionMeta
fn clone(&self) -> SessionMeta
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations
impl RefUnwindSafe for SessionMeta
impl Send for SessionMeta
impl Sync for SessionMeta
impl Unpin for SessionMeta
impl UnwindSafe for SessionMeta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more