Struct everscale_types::models::account::OptionalAccount
source · pub struct OptionalAccount(pub Option<Account>);Expand description
A wrapper for Option<Account> with customized representation.
Tuple Fields§
§0: Option<Account>Implementations§
Trait Implementations§
source§impl Clone for OptionalAccount
impl Clone for OptionalAccount
source§fn clone(&self) -> OptionalAccount
fn clone(&self) -> OptionalAccount
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 Debug for OptionalAccount
impl Debug for OptionalAccount
source§impl Default for OptionalAccount
impl Default for OptionalAccount
source§fn default() -> OptionalAccount
fn default() -> OptionalAccount
Returns the “default value” for a type. Read more
source§impl<'a> Load<'a> for OptionalAccount
impl<'a> Load<'a> for OptionalAccount
source§impl PartialEq<OptionalAccount> for OptionalAccount
impl PartialEq<OptionalAccount> for OptionalAccount
source§fn eq(&self, other: &OptionalAccount) -> bool
fn eq(&self, other: &OptionalAccount) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Store for OptionalAccount
impl Store for OptionalAccount
source§fn store_into(
&self,
builder: &mut CellBuilder,
finalizer: &mut dyn Finalizer
) -> Result<(), Error>
fn store_into( &self, builder: &mut CellBuilder, finalizer: &mut dyn Finalizer ) -> Result<(), Error>
Tries to store itself into the cell builder.
impl Eq for OptionalAccount
impl StructuralEq for OptionalAccount
impl StructuralPartialEq for OptionalAccount
Auto Trait Implementations§
impl !RefUnwindSafe for OptionalAccount
impl Send for OptionalAccount
impl Sync for OptionalAccount
impl Unpin for OptionalAccount
impl !UnwindSafe for OptionalAccount
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