pub struct RoundMiner {
pub authority: String,
pub username: Option<String>,
pub profile_photo_url: Option<String>,
pub total_deployed: u64,
pub combined_mask: u64,
pub rewards: u64,
}Expand description
A miner who participated in a round.
Fields§
§username: Option<String>§profile_photo_url: Option<String>§total_deployed: u64Total SOL deployed in the round (lamports), summed across all deploy events.
combined_mask: u64Combined bitmask of all squares the user deployed to.
rewards: u64ORE rewards won in the round (in token base units, 11 decimals). Includes base reward (1 ORE, split or top-miner) plus motherlode share if applicable. Zero if the round is in progress or the miner didn’t deploy on the winning square.
Trait Implementations§
Source§impl Clone for RoundMiner
impl Clone for RoundMiner
Source§fn clone(&self) -> RoundMiner
fn clone(&self) -> RoundMiner
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RoundMiner
impl Debug for RoundMiner
Source§impl<'de> Deserialize<'de> for RoundMiner
impl<'de> Deserialize<'de> for RoundMiner
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 RoundMiner
impl PartialEq for RoundMiner
Source§fn eq(&self, other: &RoundMiner) -> bool
fn eq(&self, other: &RoundMiner) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RoundMiner
impl Serialize for RoundMiner
impl StructuralPartialEq for RoundMiner
Auto Trait Implementations§
impl Freeze for RoundMiner
impl RefUnwindSafe for RoundMiner
impl Send for RoundMiner
impl Sync for RoundMiner
impl Unpin for RoundMiner
impl UnsafeUnpin for RoundMiner
impl UnwindSafe for RoundMiner
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more