Struct midgard_rs::ActionMetadata
source · pub struct ActionMetadata { /* private fields */ }Implementations§
source§impl ActionMetadata
impl ActionMetadata
pub const fn get_swap(&self) -> &Option<ActionMetadataSwap>
pub const fn get_add_liquidity(&self) -> &Option<ActionMetadataAddLiquidity>
pub const fn get_withdraw(&self) -> &Option<ActionMetadataWithdraw>
pub const fn get_refund(&self) -> &Option<ActionMetadataRefund>
Trait Implementations§
source§impl Clone for ActionMetadata
impl Clone for ActionMetadata
source§fn clone(&self) -> ActionMetadata
fn clone(&self) -> ActionMetadata
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 ActionMetadata
impl Debug for ActionMetadata
source§impl Default for ActionMetadata
impl Default for ActionMetadata
source§fn default() -> ActionMetadata
fn default() -> ActionMetadata
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ActionMetadata
impl<'de> Deserialize<'de> for ActionMetadata
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 ActionMetadata
impl RefUnwindSafe for ActionMetadata
impl Send for ActionMetadata
impl Sync for ActionMetadata
impl Unpin for ActionMetadata
impl UnwindSafe for ActionMetadata
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