Struct bitcoin_pool_identification::Pool
source · [−]pub struct Pool {
pub name: String,
pub link: Option<String>,
pub identification_method: IdentificationMethod,
}Expand description
Models a mining pool with a name and optionally a link to the pool website.
Fields
name: StringName of the mining pool.
link: Option<String>Optional link to the mining pools website.
identification_method: IdentificationMethodThe method the pool was identified with.
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Pool
impl<'de> Deserialize<'de> for Pool
sourcefn 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
sourceimpl PartialEq<Pool> for Pool
impl PartialEq<Pool> for Pool
impl Eq for Pool
impl StructuralEq for Pool
impl StructuralPartialEq for Pool
Auto Trait Implementations
impl RefUnwindSafe for Pool
impl Send for Pool
impl Sync for Pool
impl Unpin for Pool
impl UnwindSafe for Pool
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more