Struct ex3_node_types::transaction::ConfirmedDeposit
source · pub struct ConfirmedDeposit {
pub seq_id: DepositId,
pub deposit: Deposit,
pub confirmed_at: TimeInNs,
}Expand description
ConfirmedDeposit
Fields§
§seq_id: DepositId§deposit: Deposit§confirmed_at: TimeInNsTrait Implementations§
source§impl Clone for ConfirmedDeposit
impl Clone for ConfirmedDeposit
source§fn clone(&self) -> ConfirmedDeposit
fn clone(&self) -> ConfirmedDeposit
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 ConfirmedDeposit
impl Debug for ConfirmedDeposit
source§impl<'de> Deserialize<'de> for ConfirmedDeposit
impl<'de> Deserialize<'de> for ConfirmedDeposit
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<CandidConfirmedDeposit> for ConfirmedDeposit
impl From<CandidConfirmedDeposit> for ConfirmedDeposit
source§fn from(deposit: CandidConfirmedDeposit) -> Self
fn from(deposit: CandidConfirmedDeposit) -> Self
Converts to this type from the input type.
source§impl From<ConfirmedDeposit> for CandidConfirmedDeposit
impl From<ConfirmedDeposit> for CandidConfirmedDeposit
source§fn from(deposit: ConfirmedDeposit) -> Self
fn from(deposit: ConfirmedDeposit) -> Self
Converts to this type from the input type.
source§impl Hash for ConfirmedDeposit
impl Hash for ConfirmedDeposit
source§impl Ord for ConfirmedDeposit
impl Ord for ConfirmedDeposit
source§fn cmp(&self, other: &ConfirmedDeposit) -> Ordering
fn cmp(&self, other: &ConfirmedDeposit) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ConfirmedDeposit
impl PartialEq for ConfirmedDeposit
source§fn eq(&self, other: &ConfirmedDeposit) -> bool
fn eq(&self, other: &ConfirmedDeposit) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for ConfirmedDeposit
impl PartialOrd for ConfirmedDeposit
source§fn partial_cmp(&self, other: &ConfirmedDeposit) -> Option<Ordering>
fn partial_cmp(&self, other: &ConfirmedDeposit) -> Option<Ordering>
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 Serialize for ConfirmedDeposit
impl Serialize for ConfirmedDeposit
source§impl Storable for ConfirmedDeposit
impl Storable for ConfirmedDeposit
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 ConfirmedDeposit
impl StructuralEq for ConfirmedDeposit
impl StructuralPartialEq for ConfirmedDeposit
Auto Trait Implementations§
impl RefUnwindSafe for ConfirmedDeposit
impl Send for ConfirmedDeposit
impl Sync for ConfirmedDeposit
impl Unpin for ConfirmedDeposit
impl UnwindSafe for ConfirmedDeposit
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