Struct midgard_rs::ActionMetadataSwap
source · pub struct ActionMetadataSwap { /* private fields */ }Implementations§
source§impl ActionMetadataSwap
impl ActionMetadataSwap
pub const fn get_affiliate_address(&self) -> &String
pub const fn get_affiliate_fee(&self) -> &u64
pub const fn get_is_streaming_swap(&self) -> &bool
pub const fn get_liquidity_fee(&self) -> &u64
pub const fn get_memo(&self) -> &String
pub const fn get_network_fees(&self) -> &AssetAmounts
pub const fn get_streaming_swap_meta( &self ) -> &Option<ActionMetadataSwapStreamingSwapMeta>
pub const fn get_swap_slip(&self) -> &u64
pub const fn get_swap_target(&self) -> &u64
Trait Implementations§
source§impl Clone for ActionMetadataSwap
impl Clone for ActionMetadataSwap
source§fn clone(&self) -> ActionMetadataSwap
fn clone(&self) -> ActionMetadataSwap
Returns a copy 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 ActionMetadataSwap
impl Debug for ActionMetadataSwap
source§impl Default for ActionMetadataSwap
impl Default for ActionMetadataSwap
source§fn default() -> ActionMetadataSwap
fn default() -> ActionMetadataSwap
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActionMetadataSwap
impl<'de> Deserialize<'de> for ActionMetadataSwap
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
Auto Trait Implementations§
impl Freeze for ActionMetadataSwap
impl RefUnwindSafe for ActionMetadataSwap
impl Send for ActionMetadataSwap
impl Sync for ActionMetadataSwap
impl Unpin for ActionMetadataSwap
impl UnwindSafe for ActionMetadataSwap
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