Struct safecoin_transaction_status::Reward
source · pub struct Reward {
pub pubkey: String,
pub lamports: i64,
pub post_balance: u64,
pub reward_type: Option<RewardType>,
pub commission: Option<u8>,
}
Fields§
§pubkey: String
§lamports: i64
§post_balance: u64
§reward_type: Option<RewardType>
§commission: Option<u8>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Reward
impl<'de> Deserialize<'de> for Reward
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<Reward> for Reward
impl PartialEq<Reward> for Reward
impl Eq for Reward
impl StructuralEq for Reward
impl StructuralPartialEq for Reward
Auto Trait Implementations§
impl RefUnwindSafe for Reward
impl Send for Reward
impl Sync for Reward
impl Unpin for Reward
impl UnwindSafe for Reward
Blanket Implementations§
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + AbiExample + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + AbiExample + ?Sized,
default fn visit_for_abi( &self, digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
§impl<T> AbiEnumVisitor for Twhere
T: Serialize + ?Sized,
impl<T> AbiEnumVisitor for Twhere T: Serialize + ?Sized,
default fn visit_for_abi( &self, _digester: &mut AbiDigester ) -> Result<AbiDigester, DigestError>
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.