pub struct SpotOrder {Show 24 fields
pub refid: Option<String>,
pub userref: Option<i64>,
pub status: KrakenOrderStatus,
pub opentm: f64,
pub starttm: Option<f64>,
pub expiretm: Option<f64>,
pub descr: OrderDescription,
pub vol: String,
pub vol_exec: String,
pub cost: String,
pub fee: String,
pub price: String,
pub stopprice: Option<String>,
pub limitprice: Option<String>,
pub trigger: Option<KrakenSpotTrigger>,
pub misc: String,
pub oflags: String,
pub trades: Option<Vec<String>>,
pub closetm: Option<f64>,
pub reason: Option<String>,
pub ratecount: Option<i32>,
pub cl_ord_id: Option<String>,
pub amended: Option<bool>,
pub avg_price: Option<String>,
}Fields§
§refid: Option<String>§userref: Option<i64>§status: KrakenOrderStatus§opentm: f64§starttm: Option<f64>§expiretm: Option<f64>§descr: OrderDescription§vol: String§vol_exec: String§cost: String§fee: String§price: String§stopprice: Option<String>§limitprice: Option<String>§trigger: Option<KrakenSpotTrigger>§misc: String§oflags: String§trades: Option<Vec<String>>§closetm: Option<f64>§reason: Option<String>§ratecount: Option<i32>§cl_ord_id: Option<String>§amended: Option<bool>§avg_price: Option<String>Average fill price (if returned by the API)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpotOrder
impl<'de> Deserialize<'de> for SpotOrder
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SpotOrder
impl RefUnwindSafe for SpotOrder
impl Send for SpotOrder
impl Sync for SpotOrder
impl Unpin for SpotOrder
impl UnwindSafe for SpotOrder
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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>
Converts
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>
Converts
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