Enum poseidon_client::RewardType
source · [−]pub enum RewardType {
Fee,
Rent,
Staking,
Voting,
}Variants
Fee
Rent
Staking
Voting
Trait Implementations
sourceimpl BorshDeserialize for RewardType
impl BorshDeserialize for RewardType
sourceimpl BorshSerialize for RewardType
impl BorshSerialize for RewardType
sourceimpl Clone for RewardType
impl Clone for RewardType
sourcefn clone(&self) -> RewardType
fn clone(&self) -> RewardType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for RewardType
impl Debug for RewardType
sourceimpl<'de> Deserialize<'de> for RewardType
impl<'de> Deserialize<'de> for RewardType
sourcefn 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
sourceimpl PartialEq<RewardType> for RewardType
impl PartialEq<RewardType> for RewardType
sourceimpl PartialOrd<RewardType> for RewardType
impl PartialOrd<RewardType> for RewardType
sourcefn partial_cmp(&self, other: &RewardType) -> Option<Ordering>
fn partial_cmp(&self, other: &RewardType) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
sourceimpl Serialize for RewardType
impl Serialize for RewardType
impl StructuralPartialEq for RewardType
Auto Trait Implementations
impl RefUnwindSafe for RewardType
impl Send for RewardType
impl Sync for RewardType
impl Unpin for RewardType
impl UnwindSafe for RewardType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more