pub struct UiEpochRewards {
pub distribution_starting_block_height: u64,
pub num_partitions: u64,
pub parent_blockhash: String,
pub total_points: String,
pub total_rewards: String,
pub distributed_rewards: String,
pub active: bool,
}This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Fieldsยง
ยงdistribution_starting_block_height: u64This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
num_partitions: u64This crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
parent_blockhash: StringThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
total_points: StringThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
total_rewards: StringThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
distributed_rewards: StringThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
active: boolThis crate has been marked for formal inclusion in the Agave Unstable API. From v4.0.0 onward, the agave-unstable-api crate feature must be specified to acknowledge use of an interface that may break without warning.
Trait Implementationsยง
Sourceยงimpl Debug for UiEpochRewards
impl Debug for UiEpochRewards
Sourceยงimpl Default for UiEpochRewards
impl Default for UiEpochRewards
Sourceยงfn default() -> UiEpochRewards
fn default() -> UiEpochRewards
Sourceยงimpl<'de> Deserialize<'de> for UiEpochRewards
impl<'de> Deserialize<'de> for UiEpochRewards
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>,
Sourceยงimpl From<EpochRewards> for UiEpochRewards
impl From<EpochRewards> for UiEpochRewards
Sourceยงfn from(epoch_rewards: EpochRewards) -> Self
fn from(epoch_rewards: EpochRewards) -> Self
Sourceยงimpl PartialEq for UiEpochRewards
impl PartialEq for UiEpochRewards
Sourceยงimpl Serialize for UiEpochRewards
impl Serialize for UiEpochRewards
impl Eq for UiEpochRewards
impl StructuralPartialEq for UiEpochRewards
Auto Trait Implementationsยง
impl Freeze for UiEpochRewards
impl RefUnwindSafe for UiEpochRewards
impl Send for UiEpochRewards
impl Sync for UiEpochRewards
impl Unpin for UiEpochRewards
impl UnsafeUnpin for UiEpochRewards
impl UnwindSafe for UiEpochRewards
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
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>
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>
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