pub enum EconomicOperation {
PositionValue,
RealizedPnl,
UnrealizedPnl,
Inventory,
Fees,
Funding,
Margin,
Liquidation,
}Expand description
Economic operation that must be supplied by executable code.
Variants§
Trait Implementations§
Source§impl Clone for EconomicOperation
impl Clone for EconomicOperation
Source§fn clone(&self) -> EconomicOperation
fn clone(&self) -> EconomicOperation
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 moreimpl Copy for EconomicOperation
Source§impl Debug for EconomicOperation
impl Debug for EconomicOperation
Source§impl<'de> Deserialize<'de> for EconomicOperation
impl<'de> Deserialize<'de> for EconomicOperation
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
impl Eq for EconomicOperation
Source§impl Hash for EconomicOperation
impl Hash for EconomicOperation
Source§impl Ord for EconomicOperation
impl Ord for EconomicOperation
Source§fn cmp(&self, other: &EconomicOperation) -> Ordering
fn cmp(&self, other: &EconomicOperation) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EconomicOperation
impl PartialEq for EconomicOperation
Source§impl PartialOrd for EconomicOperation
impl PartialOrd for EconomicOperation
Source§impl Serialize for EconomicOperation
impl Serialize for EconomicOperation
impl StructuralPartialEq for EconomicOperation
Auto Trait Implementations§
impl Freeze for EconomicOperation
impl RefUnwindSafe for EconomicOperation
impl Send for EconomicOperation
impl Sync for EconomicOperation
impl Unpin for EconomicOperation
impl UnsafeUnpin for EconomicOperation
impl UnwindSafe for EconomicOperation
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