pub struct AccountSession {
pub session_id: Option<String>,
pub principal_id: Option<String>,
pub tenant_id: Option<String>,
pub workspace_id: Option<String>,
pub plan: Option<Option<AccountSessionPlan>>,
pub plan_alias: Option<String>,
pub edition: Option<String>,
pub deployment_mode: Option<String>,
pub account_lifecycle: Option<String>,
pub offer_code: Option<String>,
pub source: Option<String>,
pub expires_at: Option<String>,
}Fields§
§session_id: Option<String>§principal_id: Option<String>§tenant_id: Option<String>§workspace_id: Option<String>§plan: Option<Option<AccountSessionPlan>>§plan_alias: Option<String>§edition: Option<String>§deployment_mode: Option<String>§account_lifecycle: Option<String>§offer_code: Option<String>§source: Option<String>§expires_at: Option<String>Implementations§
Source§impl AccountSession
impl AccountSession
pub fn new() -> AccountSession
Trait Implementations§
Source§impl Clone for AccountSession
impl Clone for AccountSession
Source§fn clone(&self) -> AccountSession
fn clone(&self) -> AccountSession
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AccountSession
impl Debug for AccountSession
Source§impl Default for AccountSession
impl Default for AccountSession
Source§fn default() -> AccountSession
fn default() -> AccountSession
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountSession
impl<'de> Deserialize<'de> for AccountSession
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 AccountSession
impl PartialEq for AccountSession
Source§fn eq(&self, other: &AccountSession) -> bool
fn eq(&self, other: &AccountSession) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AccountSession
impl Serialize for AccountSession
impl StructuralPartialEq for AccountSession
Auto Trait Implementations§
impl Freeze for AccountSession
impl RefUnwindSafe for AccountSession
impl Send for AccountSession
impl Sync for AccountSession
impl Unpin for AccountSession
impl UnsafeUnpin for AccountSession
impl UnwindSafe for AccountSession
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