pub struct RefreshSessionResponse {
pub did: String,
pub handle: String,
pub access_jwt: String,
pub refresh_jwt: String,
pub active: Option<bool>,
pub status: Option<String>,
}Expand description
Response from refreshing an authentication session.
Fields§
§did: StringDistributed identifier for the authenticated account
handle: StringHandle for the authenticated account
access_jwt: StringJWT access token for authenticated requests
refresh_jwt: StringJWT refresh token for obtaining new access tokens
active: Option<bool>Whether the account is active
status: Option<String>Account status (e.g., “takendown”, “suspended”, “deactivated”)
Trait Implementations§
Source§impl Clone for RefreshSessionResponse
impl Clone for RefreshSessionResponse
Source§fn clone(&self) -> RefreshSessionResponse
fn clone(&self) -> RefreshSessionResponse
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 RefreshSessionResponse
impl Debug for RefreshSessionResponse
Source§impl<'de> Deserialize<'de> for RefreshSessionResponse
impl<'de> Deserialize<'de> for RefreshSessionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RefreshSessionResponse
impl RefUnwindSafe for RefreshSessionResponse
impl Send for RefreshSessionResponse
impl Sync for RefreshSessionResponse
impl Unpin for RefreshSessionResponse
impl UnsafeUnpin for RefreshSessionResponse
impl UnwindSafe for RefreshSessionResponse
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