Struct authzen_session::AccountSessionState
source · pub struct AccountSessionState<AccountId, Fields = ()> {
pub account_id: AccountId,
pub fields: Fields,
}Fields§
§account_id: AccountId§fields: FieldsImplementations§
source§impl<AccountId, Fields> AccountSessionState<AccountId, Fields>
impl<AccountId, Fields> AccountSessionState<AccountId, Fields>
Trait Implementations§
source§impl<AccountId: Clone, Fields: Clone> Clone for AccountSessionState<AccountId, Fields>
impl<AccountId: Clone, Fields: Clone> Clone for AccountSessionState<AccountId, Fields>
source§fn clone(&self) -> AccountSessionState<AccountId, Fields>
fn clone(&self) -> AccountSessionState<AccountId, Fields>
Returns a copy 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<AccountId, Fields> Deref for AccountSessionState<AccountId, Fields>
impl<AccountId, Fields> Deref for AccountSessionState<AccountId, Fields>
source§impl<'de, AccountId, Fields> Deserialize<'de> for AccountSessionState<AccountId, Fields>where
AccountId: Deserialize<'de>,
Fields: Deserialize<'de>,
impl<'de, AccountId, Fields> Deserialize<'de> for AccountSessionState<AccountId, Fields>where AccountId: Deserialize<'de>, Fields: Deserialize<'de>,
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<AccountId: PartialEq, Fields: PartialEq> PartialEq<AccountSessionState<AccountId, Fields>> for AccountSessionState<AccountId, Fields>
impl<AccountId: PartialEq, Fields: PartialEq> PartialEq<AccountSessionState<AccountId, Fields>> for AccountSessionState<AccountId, Fields>
source§fn eq(&self, other: &AccountSessionState<AccountId, Fields>) -> bool
fn eq(&self, other: &AccountSessionState<AccountId, Fields>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.