pub struct PostTriggerV1CreateOrderRequestParams {
pub expired_at: Option<String>,
pub fee_bps: Option<String>,
pub making_amount: String,
pub slippage_bps: Option<String>,
pub taking_amount: String,
}Fields§
§expired_at: Option<String>§fee_bps: Option<String>Requires the feeAccount parameter, the amount of fees in bps that will be sent to the fee account
making_amount: StringAmount of input mint to swap
slippage_bps: Option<String>Amount of slippage the order can be executed with
taking_amount: StringAmount of output mint to receive
Trait Implementations§
Source§impl Clone for PostTriggerV1CreateOrderRequestParams
impl Clone for PostTriggerV1CreateOrderRequestParams
Source§fn clone(&self) -> PostTriggerV1CreateOrderRequestParams
fn clone(&self) -> PostTriggerV1CreateOrderRequestParams
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for PostTriggerV1CreateOrderRequestParams
impl<'de> Deserialize<'de> for PostTriggerV1CreateOrderRequestParams
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 PostTriggerV1CreateOrderRequestParams
impl RefUnwindSafe for PostTriggerV1CreateOrderRequestParams
impl Send for PostTriggerV1CreateOrderRequestParams
impl Sync for PostTriggerV1CreateOrderRequestParams
impl Unpin for PostTriggerV1CreateOrderRequestParams
impl UnsafeUnpin for PostTriggerV1CreateOrderRequestParams
impl UnwindSafe for PostTriggerV1CreateOrderRequestParams
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