Struct HyperliquidOrderUpdate
#[non_exhaustive]pub struct HyperliquidOrderUpdate {
pub common: Order,
pub coin: String,
pub side: String,
pub limit_price: Decimal,
pub remaining_size: Decimal,
pub original_size: Decimal,
pub order_id: u64,
pub accepted_at: Timestamp,
pub client_order_id: Option<String>,
pub status: String,
pub status_at: Option<Timestamp>,
pub raw_json: String,
}Expand description
One native Hyperliquid orderUpdates stream event.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.common: OrderPortable order projection used by the common account stream API.
coin: StringHyperliquid’s native market name.
side: StringProvider side string, currently A or B.
limit_price: DecimalProvider limit price.
remaining_size: DecimalRemaining provider order size.
original_size: DecimalOriginal provider order size.
order_id: u64Provider order identifier.
accepted_at: TimestampProvider acceptance timestamp.
client_order_id: Option<String>Provider client order identifier, when supplied.
status: StringProvider status string, preserved without normalization.
status_at: Option<Timestamp>Provider status-update timestamp, when supplied.
raw_json: StringComplete provider response object, encoded as JSON.
Trait Implementations§
§impl Clone for HyperliquidOrderUpdate
impl Clone for HyperliquidOrderUpdate
§impl Debug for HyperliquidOrderUpdate
impl Debug for HyperliquidOrderUpdate
impl Eq for HyperliquidOrderUpdate
§impl PartialEq for HyperliquidOrderUpdate
impl PartialEq for HyperliquidOrderUpdate
impl StructuralPartialEq for HyperliquidOrderUpdate
Auto Trait Implementations§
impl Freeze for HyperliquidOrderUpdate
impl RefUnwindSafe for HyperliquidOrderUpdate
impl Send for HyperliquidOrderUpdate
impl Sync for HyperliquidOrderUpdate
impl Unpin for HyperliquidOrderUpdate
impl UnsafeUnpin for HyperliquidOrderUpdate
impl UnwindSafe for HyperliquidOrderUpdate
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.