Struct ex3_node_types::transaction::Deposit
source · pub struct Deposit {
pub identifier: DepositIdentifier,
pub from_wallet: WalletRegisterId,
pub amount: AssetAmount,
}Expand description
Deposit
Fields§
§identifier: DepositIdentifier§from_wallet: WalletRegisterId§amount: AssetAmountTrait Implementations§
source§impl<'de> Deserialize<'de> for Deposit
impl<'de> Deserialize<'de> for Deposit
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 From<CandidDeposit> for Deposit
impl From<CandidDeposit> for Deposit
source§fn from(deposit: CandidDeposit) -> Self
fn from(deposit: CandidDeposit) -> Self
Converts to this type from the input type.
source§impl From<Deposit> for CandidDeposit
impl From<Deposit> for CandidDeposit
source§impl Ord for Deposit
impl Ord for Deposit
source§impl PartialEq for Deposit
impl PartialEq for Deposit
source§impl PartialOrd for Deposit
impl PartialOrd for Deposit
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moresource§impl Storable for Deposit
impl Storable for Deposit
source§fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
fn from_bytes(bytes: Cow<'_, [u8]>) -> Self
Converts bytes into an element.
source§fn to_bytes_checked(&self) -> Cow<'_, [u8]>
fn to_bytes_checked(&self) -> Cow<'_, [u8]>
Like
to_bytes, but includes additional checks to ensure the element’s serialized bytes
are within the element’s bounds.impl Eq for Deposit
impl StructuralEq for Deposit
impl StructuralPartialEq for Deposit
Auto Trait Implementations§
impl RefUnwindSafe for Deposit
impl Send for Deposit
impl Sync for Deposit
impl Unpin for Deposit
impl UnwindSafe for Deposit
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