pub struct PointValue {
pub rewards: u64,
pub points: u128,
}๐Deprecated since 2.2.0
Expand description
captures a rewards round as lamports to be awarded and the total points over which those lamports are to be distributed
Fieldsยง
ยงrewards: u64๐Deprecated since 2.2.0
ยงpoints: u128๐Deprecated since 2.2.0
Trait Implementationsยง
Sourceยงimpl Clone for PointValue
impl Clone for PointValue
Sourceยงfn clone(&self) -> PointValue
fn clone(&self) -> PointValue
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 PointValue
impl Debug for PointValue
Sourceยงimpl PartialEq for PointValue
impl PartialEq for PointValue
impl Eq for PointValue
impl StructuralPartialEq for PointValue
Auto Trait Implementationsยง
impl Freeze for PointValue
impl RefUnwindSafe for PointValue
impl Send for PointValue
impl Sync for PointValue
impl Unpin for PointValue
impl UnsafeUnpin for PointValue
impl UnwindSafe for PointValue
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