pub struct CosmosAuthResponse {
pub bearer_token_valid: bool,
pub cleared_offline: bool,
pub upgraded_bearer_token: bool,
pub account_id: String,
}Expand description
Response from GET /api/cosmos/auth — session upgrade result.
After calling set-sid, this endpoint upgrades the bearer token and
issues EPIC_EG1 / EPIC_EG1_REFRESH JWTs (set as cookies) required
by all other /api/cosmos/* endpoints.
Fields§
§bearer_token_valid: bool§cleared_offline: bool§upgraded_bearer_token: bool§account_id: StringTrait Implementations§
Source§impl Clone for CosmosAuthResponse
impl Clone for CosmosAuthResponse
Source§fn clone(&self) -> CosmosAuthResponse
fn clone(&self) -> CosmosAuthResponse
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 CosmosAuthResponse
impl Debug for CosmosAuthResponse
Source§impl<'de> Deserialize<'de> for CosmosAuthResponse
impl<'de> Deserialize<'de> for CosmosAuthResponse
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
Source§impl PartialEq for CosmosAuthResponse
impl PartialEq for CosmosAuthResponse
Source§impl Serialize for CosmosAuthResponse
impl Serialize for CosmosAuthResponse
impl StructuralPartialEq for CosmosAuthResponse
Auto Trait Implementations§
impl Freeze for CosmosAuthResponse
impl RefUnwindSafe for CosmosAuthResponse
impl Send for CosmosAuthResponse
impl Sync for CosmosAuthResponse
impl Unpin for CosmosAuthResponse
impl UnsafeUnpin for CosmosAuthResponse
impl UnwindSafe for CosmosAuthResponse
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