pub enum EventView {
    Fill {
        side: Side,
        maker: bool,
        native_qty_paid: u64,
        native_qty_received: u64,
        native_fee_or_rebate: u64,
        order_id: u128,
        owner: [u64; 4],
        owner_slot: u8,
        fee_tier: FeeTier,
        client_order_id: Option<NonZeroU64>,
    },
    Out {
        side: Side,
        release_funds: bool,
        native_qty_unlocked: u64,
        native_qty_still_locked: u64,
        order_id: u128,
        owner: [u64; 4],
        owner_slot: u8,
        client_order_id: Option<NonZeroU64>,
    },
}

Variants

Fill

Fields

side: Side
maker: bool
native_qty_paid: u64
native_qty_received: u64
native_fee_or_rebate: u64
order_id: u128
owner: [u64; 4]
owner_slot: u8
fee_tier: FeeTier
client_order_id: Option<NonZeroU64>

Out

Fields

side: Side
release_funds: bool
native_qty_unlocked: u64
native_qty_still_locked: u64
order_id: u128
owner: [u64; 4]
owner_slot: u8
client_order_id: Option<NonZeroU64>

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.