pub struct CurrentSession {
pub access_token: String,
pub refresh_token: String,
}
Fields§
§access_token: String
§refresh_token: String
Trait Implementations§
Source§impl From<CurrentSession> for JsValue
impl From<CurrentSession> for JsValue
Source§fn from(value: CurrentSession) -> Self
fn from(value: CurrentSession) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for CurrentSession
impl FromWasmAbi for CurrentSession
Source§impl IntoWasmAbi for CurrentSession
impl IntoWasmAbi for CurrentSession
Source§impl LongRefFromWasmAbi for CurrentSession
impl LongRefFromWasmAbi for CurrentSession
Source§impl OptionFromWasmAbi for CurrentSession
impl OptionFromWasmAbi for CurrentSession
Source§impl OptionIntoWasmAbi for CurrentSession
impl OptionIntoWasmAbi for CurrentSession
Source§impl RefFromWasmAbi for CurrentSession
impl RefFromWasmAbi for CurrentSession
Source§type Anchor = RcRef<CurrentSession>
type Anchor = RcRef<CurrentSession>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for CurrentSession
impl RefMutFromWasmAbi for CurrentSession
Source§impl TryFromJsValue for CurrentSession
impl TryFromJsValue for CurrentSession
Source§impl VectorFromWasmAbi for CurrentSession
impl VectorFromWasmAbi for CurrentSession
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[CurrentSession]>
Source§impl VectorIntoJsValue for CurrentSession
impl VectorIntoJsValue for CurrentSession
fn vector_into_jsvalue(vector: Box<[CurrentSession]>) -> JsValue
Source§impl VectorIntoWasmAbi for CurrentSession
impl VectorIntoWasmAbi for CurrentSession
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[CurrentSession]>) -> Self::Abi
Source§impl WasmDescribeVector for CurrentSession
impl WasmDescribeVector for CurrentSession
impl SupportsConstructor for CurrentSession
impl SupportsInstanceProperty for CurrentSession
impl SupportsStaticProperty for CurrentSession
Auto Trait Implementations§
impl Freeze for CurrentSession
impl RefUnwindSafe for CurrentSession
impl Send for CurrentSession
impl Sync for CurrentSession
impl Unpin for CurrentSession
impl UnwindSafe for CurrentSession
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
Source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.