pub struct AccountWithContext {
pub account: Box<Account>,
pub context: Box<AccountContext>,
}
Fields§
§account: Box<Account>
§context: Box<AccountContext>
Implementations§
Source§impl AccountWithContext
impl AccountWithContext
pub fn new(account: Account, context: AccountContext) -> AccountWithContext
Trait Implementations§
Source§impl Clone for AccountWithContext
impl Clone for AccountWithContext
Source§fn clone(&self) -> AccountWithContext
fn clone(&self) -> AccountWithContext
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 AccountWithContext
impl Debug for AccountWithContext
Source§impl Default for AccountWithContext
impl Default for AccountWithContext
Source§fn default() -> AccountWithContext
fn default() -> AccountWithContext
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AccountWithContext
impl<'de> Deserialize<'de> for AccountWithContext
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 AccountWithContext
impl PartialEq for AccountWithContext
Source§impl Serialize for AccountWithContext
impl Serialize for AccountWithContext
impl StructuralPartialEq for AccountWithContext
Auto Trait Implementations§
impl Freeze for AccountWithContext
impl RefUnwindSafe for AccountWithContext
impl Send for AccountWithContext
impl Sync for AccountWithContext
impl Unpin for AccountWithContext
impl UnwindSafe for AccountWithContext
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