pub enum IdentificationMethod {
Address,
Tag,
}Variants§
Address
The Pool was identified via a known coinbase output address.
Tag
The Pool was identified via a known tag in the coinbase script sig.
Trait Implementations§
source§impl Clone for IdentificationMethod
impl Clone for IdentificationMethod
source§fn clone(&self) -> IdentificationMethod
fn clone(&self) -> IdentificationMethod
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 IdentificationMethod
impl Debug for IdentificationMethod
source§impl<'de> Deserialize<'de> for IdentificationMethod
impl<'de> Deserialize<'de> for IdentificationMethod
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 IdentificationMethod
impl PartialEq for IdentificationMethod
source§fn eq(&self, other: &IdentificationMethod) -> bool
fn eq(&self, other: &IdentificationMethod) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for IdentificationMethod
impl Serialize for IdentificationMethod
impl Eq for IdentificationMethod
impl StructuralEq for IdentificationMethod
impl StructuralPartialEq for IdentificationMethod
Auto Trait Implementations§
impl RefUnwindSafe for IdentificationMethod
impl Send for IdentificationMethod
impl Sync for IdentificationMethod
impl Unpin for IdentificationMethod
impl UnwindSafe for IdentificationMethod
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