pub struct PublicDeploySettled {
pub authority: Address,
pub round_id: u32,
pub winning_stake: u64,
pub won_usd_amount: u64,
pub won_shares_amount: u64,
pub hashrate_earned: u64,
pub unclaimed_hashrate_earned: u64,
pub is_automation: bool,
pub reload: bool,
}Fields§
§round_id: u32§winning_stake: u64The deployment’s even-split stake on the winning tile.
won_usd_amount: u64USD winnings credited to the miner’s unclaimed balance.
Sats vault shares minted for the BTC winnings.
hashrate_earned: u64Hashrate points credited for the play.
unclaimed_hashrate_earned: u64Deferred hashrate bonus accrued to Miner.unclaimed_hashrate
(hashrate_earned · unclaimed_hashrate_bps / 10_000, floored).
is_automation: boolThe deployment was created by a PublicAutomation.
reload: boolThe USD winnings were reloaded into the automation’s escrow (the
reloaded amount equals won_usd_amount when true).
Trait Implementations§
Source§impl BorshDeserialize for PublicDeploySettled
impl BorshDeserialize for PublicDeploySettled
fn deserialize_reader<__R: Read>(reader: &mut __R) -> Result<Self, Error>
Source§fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
fn deserialize(buf: &mut &[u8]) -> Result<Self, Error>
Deserializes this instance from a given slice of bytes.
Updates the buffer to point at the remaining bytes.
Source§fn try_from_slice(v: &[u8]) -> Result<Self, Error>
fn try_from_slice(v: &[u8]) -> Result<Self, Error>
Deserialize this instance from a slice of bytes.
fn try_from_reader<R>(reader: &mut R) -> Result<Self, Error>where
R: Read,
Source§impl BorshSerialize for PublicDeploySettled
impl BorshSerialize for PublicDeploySettled
Source§impl Clone for PublicDeploySettled
impl Clone for PublicDeploySettled
Source§fn clone(&self) -> PublicDeploySettled
fn clone(&self) -> PublicDeploySettled
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 PublicDeploySettled
impl Debug for PublicDeploySettled
impl Eq for PublicDeploySettled
Source§impl PartialEq for PublicDeploySettled
impl PartialEq for PublicDeploySettled
impl StructuralPartialEq for PublicDeploySettled
Auto Trait Implementations§
impl Freeze for PublicDeploySettled
impl RefUnwindSafe for PublicDeploySettled
impl Send for PublicDeploySettled
impl Sync for PublicDeploySettled
impl Unpin for PublicDeploySettled
impl UnsafeUnpin for PublicDeploySettled
impl UnwindSafe for PublicDeploySettled
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,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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