pub struct ConfirmationBlockTime {
pub block_id: BlockId,
pub confirmation_time: u64,
}
Expand description
Represents the confirmation block and time of a transaction.
Fields§
§block_id: BlockId
The anchor block.
confirmation_time: u64
The confirmation time of the transaction being anchored.
Trait Implementations§
Source§impl Clone for ConfirmationBlockTime
impl Clone for ConfirmationBlockTime
Source§fn clone(&self) -> ConfirmationBlockTime
fn clone(&self) -> ConfirmationBlockTime
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 ConfirmationBlockTime
impl Debug for ConfirmationBlockTime
Source§impl Default for ConfirmationBlockTime
impl Default for ConfirmationBlockTime
Source§fn default() -> ConfirmationBlockTime
fn default() -> ConfirmationBlockTime
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ConfirmationBlockTime
impl<'de> Deserialize<'de> for ConfirmationBlockTime
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 Hash for ConfirmationBlockTime
impl Hash for ConfirmationBlockTime
Source§impl Ord for ConfirmationBlockTime
impl Ord for ConfirmationBlockTime
Source§fn cmp(&self, other: &ConfirmationBlockTime) -> Ordering
fn cmp(&self, other: &ConfirmationBlockTime) -> 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 ConfirmationBlockTime
impl PartialEq for ConfirmationBlockTime
Source§impl PartialOrd for ConfirmationBlockTime
impl PartialOrd for ConfirmationBlockTime
Source§impl Serialize for ConfirmationBlockTime
impl Serialize for ConfirmationBlockTime
impl Copy for ConfirmationBlockTime
impl Eq for ConfirmationBlockTime
impl StructuralPartialEq for ConfirmationBlockTime
Auto Trait Implementations§
impl Freeze for ConfirmationBlockTime
impl RefUnwindSafe for ConfirmationBlockTime
impl Send for ConfirmationBlockTime
impl Sync for ConfirmationBlockTime
impl Unpin for ConfirmationBlockTime
impl UnwindSafe for ConfirmationBlockTime
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