pub enum TradeSide {
Buy,
Sell,
}Expand description
Represents the side of a trade transaction
This enum identifies whether a trade was initiated by a buyer or seller. Used in trade records to indicate market direction and flow.
Variants§
Buy
Trade initiated by a buyer (market buy order)
Sell
Trade initiated by a seller (market sell order)
Trait Implementations§
impl Copy for TradeSide
impl StructuralPartialEq for TradeSide
Auto Trait Implementations§
impl Freeze for TradeSide
impl RefUnwindSafe for TradeSide
impl Send for TradeSide
impl Sync for TradeSide
impl Unpin for TradeSide
impl UnwindSafe for TradeSide
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