Struct ex3_node_types::transaction::AddAmmV2Liquidity
source · pub struct AddAmmV2Liquidity {
pub market_id: SpotMarketId,
pub base_asset_quantity: AssetAmount,
pub quote_asset_quantity: AssetAmount,
}Expand description
Add AMM V2 liquidity
Fields§
§market_id: SpotMarketIdMarket id
base_asset_quantity: AssetAmountBase asset quantity
quote_asset_quantity: AssetAmountQuote asset quantity
Trait Implementations§
source§impl Clone for AddAmmV2Liquidity
impl Clone for AddAmmV2Liquidity
source§fn clone(&self) -> AddAmmV2Liquidity
fn clone(&self) -> AddAmmV2Liquidity
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 AddAmmV2Liquidity
impl Debug for AddAmmV2Liquidity
source§impl<'de> Deserialize<'de> for AddAmmV2Liquidity
impl<'de> Deserialize<'de> for AddAmmV2Liquidity
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 AddAmmV2Liquidity
impl PartialEq for AddAmmV2Liquidity
source§impl Serialize for AddAmmV2Liquidity
impl Serialize for AddAmmV2Liquidity
impl Eq for AddAmmV2Liquidity
impl StructuralPartialEq for AddAmmV2Liquidity
Auto Trait Implementations§
impl Freeze for AddAmmV2Liquidity
impl RefUnwindSafe for AddAmmV2Liquidity
impl Send for AddAmmV2Liquidity
impl Sync for AddAmmV2Liquidity
impl Unpin for AddAmmV2Liquidity
impl UnwindSafe for AddAmmV2Liquidity
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)