pub struct ResetEventResponse {Show 17 fields
pub disc: u8,
pub round_id: u64,
pub start_slot: u64,
pub end_slot: u64,
pub winning_square: u64,
pub top_miner: Pubkey,
pub num_winners: u64,
pub motherlode: u64,
pub total_deployed: u64,
pub total_vaulted: u64,
pub total_winnings: u64,
pub total_minted: u64,
pub ts: i64,
pub rng: u64,
pub deployed_winning_square: u64,
pub top_miner_username: Option<String>,
pub top_miner_profile_photo: Option<String>,
}Expand description
Response type for reset events with enriched top miner user info. Maintains field order matching ore_api::event::ResetEvent for backwards compatibility.
Fields§
§disc: u8§round_id: u64§start_slot: u64§end_slot: u64§winning_square: u64§top_miner: Pubkey§num_winners: u64§motherlode: u64§total_deployed: u64§total_vaulted: u64§total_winnings: u64§total_minted: u64§ts: i64§rng: u64§deployed_winning_square: u64§top_miner_username: Option<String>§top_miner_profile_photo: Option<String>Trait Implementations§
Source§impl Clone for ResetEventResponse
impl Clone for ResetEventResponse
Source§fn clone(&self) -> ResetEventResponse
fn clone(&self) -> ResetEventResponse
Returns a duplicate 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 ResetEventResponse
impl Debug for ResetEventResponse
Source§impl<'de> Deserialize<'de> for ResetEventResponse
impl<'de> Deserialize<'de> for ResetEventResponse
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 ResetEventResponse
impl PartialEq for ResetEventResponse
Source§impl Serialize for ResetEventResponse
impl Serialize for ResetEventResponse
impl StructuralPartialEq for ResetEventResponse
Auto Trait Implementations§
impl Freeze for ResetEventResponse
impl RefUnwindSafe for ResetEventResponse
impl Send for ResetEventResponse
impl Sync for ResetEventResponse
impl Unpin for ResetEventResponse
impl UnwindSafe for ResetEventResponse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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