pub struct ClosedAccountWithOptionalTokenDataV2 {
pub account: Box<ClosedAccountV2>,
pub optional_token_data: Option<Box<TokenData>>,
}
Fields§
§account: Box<ClosedAccountV2>
§optional_token_data: Option<Box<TokenData>>
Implementations§
Source§impl ClosedAccountWithOptionalTokenDataV2
impl ClosedAccountWithOptionalTokenDataV2
pub fn new(account: ClosedAccountV2) -> ClosedAccountWithOptionalTokenDataV2
Trait Implementations§
Source§impl Clone for ClosedAccountWithOptionalTokenDataV2
impl Clone for ClosedAccountWithOptionalTokenDataV2
Source§fn clone(&self) -> ClosedAccountWithOptionalTokenDataV2
fn clone(&self) -> ClosedAccountWithOptionalTokenDataV2
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 Default for ClosedAccountWithOptionalTokenDataV2
impl Default for ClosedAccountWithOptionalTokenDataV2
Source§fn default() -> ClosedAccountWithOptionalTokenDataV2
fn default() -> ClosedAccountWithOptionalTokenDataV2
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ClosedAccountWithOptionalTokenDataV2
impl<'de> Deserialize<'de> for ClosedAccountWithOptionalTokenDataV2
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 ClosedAccountWithOptionalTokenDataV2
impl PartialEq for ClosedAccountWithOptionalTokenDataV2
Source§fn eq(&self, other: &ClosedAccountWithOptionalTokenDataV2) -> bool
fn eq(&self, other: &ClosedAccountWithOptionalTokenDataV2) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for ClosedAccountWithOptionalTokenDataV2
Auto Trait Implementations§
impl Freeze for ClosedAccountWithOptionalTokenDataV2
impl RefUnwindSafe for ClosedAccountWithOptionalTokenDataV2
impl Send for ClosedAccountWithOptionalTokenDataV2
impl Sync for ClosedAccountWithOptionalTokenDataV2
impl Unpin for ClosedAccountWithOptionalTokenDataV2
impl UnwindSafe for ClosedAccountWithOptionalTokenDataV2
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