pub struct Pool {
pub id: u64,
pub name: String,
pub addresses: Vec<String>,
pub tags: Vec<String>,
pub link: String,
}
Expand description
Models a mining pool with a name and optionally a link to the pool website.
Fields§
§id: u64
Unique id of the mining pool. Can, for example, be used as a database id.
name: String
Name of the mining pool.
addresses: Vec<String>
The addresses the mining pool uses or used in the past.
The coinbase tags the mining pool uses or used in the past.
link: String
Optional link to the mining pools website.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pool
impl<'de> Deserialize<'de> for Pool
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
impl Eq for Pool
impl StructuralPartialEq for Pool
Auto Trait Implementations§
impl Freeze for Pool
impl RefUnwindSafe for Pool
impl Send for Pool
impl Sync for Pool
impl Unpin for Pool
impl UnwindSafe for Pool
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