pub enum TwapExecuteOperation {
Place {
owner_wallet: String,
side: PlatformTradeSide,
total_size_atoms: String,
slices_total: u16,
maximum_tolerance_bps: u16,
interval_slots: u32,
limit_price_atoms: String,
},
Cancel {
owner_wallet: String,
twap_id: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for TwapExecuteOperation
impl Clone for TwapExecuteOperation
Source§fn clone(&self) -> TwapExecuteOperation
fn clone(&self) -> TwapExecuteOperation
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 Debug for TwapExecuteOperation
impl Debug for TwapExecuteOperation
impl Eq for TwapExecuteOperation
Source§impl PartialEq for TwapExecuteOperation
impl PartialEq for TwapExecuteOperation
impl StructuralPartialEq for TwapExecuteOperation
Auto Trait Implementations§
impl Freeze for TwapExecuteOperation
impl RefUnwindSafe for TwapExecuteOperation
impl Send for TwapExecuteOperation
impl Sync for TwapExecuteOperation
impl Unpin for TwapExecuteOperation
impl UnsafeUnpin for TwapExecuteOperation
impl UnwindSafe for TwapExecuteOperation
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