pub struct RewardInfo {
pub src_rewards: Option<String>,
pub dest_rewards: Option<String>,
}
Expand description
RewardInfo : This field is relevant only for Algorand transactions. Both
srcRewards
and destRewards
will appear only for Vault to Vault
transactions, otherwise you will receive only the Fireblocks’ side of the
transaction.
Fields§
§src_rewards: Option<String>
§dest_rewards: Option<String>
Implementations§
Source§impl RewardInfo
impl RewardInfo
Sourcepub fn new() -> RewardInfo
pub fn new() -> RewardInfo
This field is relevant only for Algorand transactions. Both srcRewards
and destRewards
will appear only for Vault to Vault transactions,
otherwise you will receive only the Fireblocks’ side of the transaction.
Trait Implementations§
Source§impl Clone for RewardInfo
impl Clone for RewardInfo
Source§fn clone(&self) -> RewardInfo
fn clone(&self) -> RewardInfo
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 RewardInfo
impl Debug for RewardInfo
Source§impl Default for RewardInfo
impl Default for RewardInfo
Source§fn default() -> RewardInfo
fn default() -> RewardInfo
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RewardInfo
impl<'de> Deserialize<'de> for RewardInfo
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 for RewardInfo
impl PartialEq for RewardInfo
Source§impl Serialize for RewardInfo
impl Serialize for RewardInfo
impl StructuralPartialEq for RewardInfo
Auto Trait Implementations§
impl Freeze for RewardInfo
impl RefUnwindSafe for RewardInfo
impl Send for RewardInfo
impl Sync for RewardInfo
impl Unpin for RewardInfo
impl UnwindSafe for RewardInfo
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