Skip to main content

ExecutionReportBody

Struct ExecutionReportBody 

pub struct ExecutionReportBody {
    pub order_id: u64,
    pub status: u8,
    pub fill_count: u32,
    pub remaining_quantity: u64,
    pub last_fill_price: i64,
    pub last_fill_quantity: u64,
}

Fields§

§order_id: u64§status: u8§fill_count: u32§remaining_quantity: u64§last_fill_price: i64§last_fill_quantity: u64

Implementations§

§

impl ExecutionReportBody

pub const fn new( order_id: u64, status: u8, fill_count: u32, remaining_quantity: u64, last_fill_price: i64, last_fill_quantity: u64, ) -> Self

pub const fn into_message(self, sequence: u64) -> Message

Trait Implementations§

§

impl Clone for ExecutionReportBody

§

fn clone(&self) -> ExecutionReportBody

1.0.0 (const: )§

fn clone_from(&mut self, source: &Self)

§

impl Debug for ExecutionReportBody

§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

§

impl PartialEq for ExecutionReportBody

§

fn eq(&self, other: &ExecutionReportBody) -> bool

1.0.0 (const: )§

fn ne(&self, other: &Rhs) -> bool

§

impl TryFrom<&Message> for ExecutionReportBody

§

type Error = &'static str

§

fn try_from(value: &Message) -> Result<Self, Self::Error>

§

impl Copy for ExecutionReportBody

§

impl Eq for ExecutionReportBody

§

impl StructuralPartialEq for ExecutionReportBody

Auto Trait Implementations§

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

§

impl<T> CloneToUninit for T
where T: Clone,

§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
§

impl<T> From<T> for T

§

fn from(t: T) -> T

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

§

fn to_owned(&self) -> T

§

fn clone_into(&self, target: &mut T)

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>