pub struct AssetPairInfo {Show 23 fields
pub altname: Ustr,
pub wsname: Option<Ustr>,
pub aclass_base: KrakenAssetClass,
pub base: Ustr,
pub aclass_quote: KrakenAssetClass,
pub quote: Ustr,
pub cost_decimals: u8,
pub pair_decimals: u8,
pub lot_decimals: u8,
pub lot_multiplier: i32,
pub leverage_buy: Vec<i32>,
pub leverage_sell: Vec<i32>,
pub fees: Vec<(i32, f64)>,
pub fees_maker: Vec<(i32, f64)>,
pub fee_volume_currency: Option<Ustr>,
pub margin_call: Option<i32>,
pub margin_stop: Option<i32>,
pub ordermin: Option<String>,
pub costmin: Option<String>,
pub tick_size: Option<String>,
pub status: Option<KrakenPairStatus>,
pub long_position_limit: Option<i64>,
pub short_position_limit: Option<i64>,
}Fields§
§altname: Ustr§wsname: Option<Ustr>§aclass_base: KrakenAssetClass§base: Ustr§aclass_quote: KrakenAssetClass§quote: Ustr§cost_decimals: u8§pair_decimals: u8§lot_decimals: u8§lot_multiplier: i32§leverage_buy: Vec<i32>§leverage_sell: Vec<i32>§fees: Vec<(i32, f64)>§fees_maker: Vec<(i32, f64)>§fee_volume_currency: Option<Ustr>§margin_call: Option<i32>§margin_stop: Option<i32>§ordermin: Option<String>§costmin: Option<String>§tick_size: Option<String>§status: Option<KrakenPairStatus>§long_position_limit: Option<i64>§short_position_limit: Option<i64>Trait Implementations§
Source§impl Clone for AssetPairInfo
impl Clone for AssetPairInfo
Source§fn clone(&self) -> AssetPairInfo
fn clone(&self) -> AssetPairInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssetPairInfo
impl Debug for AssetPairInfo
Source§impl<'de> Deserialize<'de> for AssetPairInfo
impl<'de> Deserialize<'de> for AssetPairInfo
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 AssetPairInfo
impl RefUnwindSafe for AssetPairInfo
impl Send for AssetPairInfo
impl Sync for AssetPairInfo
impl Unpin for AssetPairInfo
impl UnwindSafe for AssetPairInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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