pub enum OutputStatus {
Unconfirmed,
Unspent,
Locked,
Spent,
Reverted,
}
Expand description
Status of an output that’s being tracked by the wallet. Can either be unconfirmed, spent, unspent, or locked (when it’s been used to generate a transaction but we don’t have confirmation that the transaction was broadcasted or mined).
Variants§
Trait Implementations§
source§impl Clone for OutputStatus
impl Clone for OutputStatus
source§fn clone(&self) -> OutputStatus
fn clone(&self) -> OutputStatus
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 OutputStatus
impl Debug for OutputStatus
source§impl<'de> Deserialize<'de> for OutputStatus
impl<'de> Deserialize<'de> for OutputStatus
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 Display for OutputStatus
impl Display for OutputStatus
source§impl Ord for OutputStatus
impl Ord for OutputStatus
source§fn cmp(&self, other: &OutputStatus) -> Ordering
fn cmp(&self, other: &OutputStatus) -> 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 OutputStatus
impl PartialEq for OutputStatus
source§fn eq(&self, other: &OutputStatus) -> bool
fn eq(&self, other: &OutputStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for OutputStatus
impl PartialOrd for OutputStatus
source§fn partial_cmp(&self, other: &OutputStatus) -> Option<Ordering>
fn partial_cmp(&self, other: &OutputStatus) -> 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 OutputStatus
impl Serialize for OutputStatus
impl Eq for OutputStatus
impl StructuralPartialEq for OutputStatus
Auto Trait Implementations§
impl Freeze for OutputStatus
impl RefUnwindSafe for OutputStatus
impl Send for OutputStatus
impl Sync for OutputStatus
impl Unpin for OutputStatus
impl UnwindSafe for OutputStatus
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
source§impl<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.