pub struct SpotTrade {Show 23 fields
pub ordertxid: String,
pub postxid: String,
pub pair: String,
pub time: f64,
pub trade_type: KrakenOrderSide,
pub ordertype: KrakenOrderType,
pub price: String,
pub cost: String,
pub fee: String,
pub vol: String,
pub margin: String,
pub leverage: Option<String>,
pub misc: String,
pub trade_id: Option<i64>,
pub maker: Option<bool>,
pub ledgers: Option<Vec<String>>,
pub posstatus: Option<String>,
pub cprice: Option<String>,
pub ccost: Option<String>,
pub cfee: Option<String>,
pub cvol: Option<String>,
pub cmargin: Option<String>,
pub net: Option<String>,
}Fields§
§ordertxid: String§postxid: String§pair: String§time: f64§trade_type: KrakenOrderSide§ordertype: KrakenOrderType§price: String§cost: String§fee: String§vol: String§margin: String§leverage: Option<String>§misc: String§trade_id: Option<i64>§maker: Option<bool>§ledgers: Option<Vec<String>>§posstatus: Option<String>§cprice: Option<String>§ccost: Option<String>§cfee: Option<String>§cvol: Option<String>§cmargin: Option<String>§net: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for SpotTrade
impl<'de> Deserialize<'de> for SpotTrade
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 SpotTrade
impl RefUnwindSafe for SpotTrade
impl Send for SpotTrade
impl Sync for SpotTrade
impl Unpin for SpotTrade
impl UnwindSafe for SpotTrade
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