Struct solana_sdk::sysvar::rewards::Rewards[][src]

#[repr(C)]pub struct Rewards {
    pub validator_point_value: f64,
    pub unused: f64,
}

Fields

validator_point_value: f64unused: f64

Implementations

impl Rewards[src]

pub fn new(validator_point_value: f64) -> Rewards[src]

Trait Implementations

impl Debug for Rewards[src]

impl Default for Rewards[src]

impl<'de> Deserialize<'de> for Rewards[src]

impl PartialEq<Rewards> for Rewards[src]

impl Serialize for Rewards[src]

impl StructuralPartialEq for Rewards[src]

impl Sysvar for Rewards[src]

impl SysvarId for Rewards[src]

Auto Trait Implementations

impl RefUnwindSafe for Rewards

impl Send for Rewards

impl Sync for Rewards

impl Unpin for Rewards

impl UnwindSafe for Rewards

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]