pub struct MakerFill {
pub log_index: u64,
pub maker_account_id: AccountId,
pub maker_order_id: OrderId,
pub maker_client_order_id: Option<RequestId>,
pub price: UD64,
pub size: UD64,
pub fee: UD64,
pub builder: Option<BuilderAttribution>,
pub builder_fee: UD64,
}Expand description
A single maker fill within a taker trade.
Fields§
§log_index: u64Log index of this maker fill event.
maker_account_id: AccountIdMaker account ID.
maker_order_id: OrderIdMaker order ID.
maker_client_order_id: Option<RequestId>Maker client order ID, if known.
Available only when the order placement was observed in processed events, not for orders loaded from the initial snapshot.
price: UD64Fill price (normalized decimal).
size: UD64Fill size (normalized decimal).
fee: UD64Maker fee paid (normalized decimal, in collateral token).
builder: Option<BuilderAttribution>Builder the maker order is attributed to, with the fee rate it charges, if any.
Available only when the order placement was observed in processed events or recovered from the initial snapshot, on contract v1.1.7.4+.
builder_fee: UD64Builder fee earned on this fill (normalized decimal, in collateral token).
Included in Self::fee, so consumers must not add it on top. Zero on
close/decrease fills and on contracts without builder attribution, even
when Self::builder is set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MakerFill
impl RefUnwindSafe for MakerFill
impl Send for MakerFill
impl Sync for MakerFill
impl Unpin for MakerFill
impl UnsafeUnpin for MakerFill
impl UnwindSafe for MakerFill
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more