pub struct Session {
pub phone_number: String,
pub device: DeviceProfile,
pub hinge_identity_id: Option<String>,
pub hinge_auth_token: Option<SecretString>,
pub sendbird_auth_token: Option<SecretString>,
pub sendbird_session_key: Option<SecretString>,
}Fields§
§phone_number: String§device: DeviceProfile§hinge_identity_id: Option<String>§hinge_auth_token: Option<SecretString>§sendbird_auth_token: Option<SecretString>§sendbird_session_key: Option<SecretString>Implementations§
Source§impl Session
impl Session
pub fn from_inner<S: Storage + Clone>(client: &HingeClient<S>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Session
impl RefUnwindSafe for Session
impl Send for Session
impl Sync for Session
impl Unpin for Session
impl UnsafeUnpin for Session
impl UnwindSafe for Session
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