pub struct BitmexUserPreferences {Show 27 fields
pub alert_on_liquidations: Option<bool>,
pub animations_enabled: Option<bool>,
pub announcements_last_seen: Option<DateTime<Utc>>,
pub chat_channel_id: Option<f64>,
pub color_theme: Option<String>,
pub currency: Option<Ustr>,
pub debug: Option<bool>,
pub disable_emails: Option<Vec<String>>,
pub disable_push: Option<Vec<String>>,
pub hide_confirm_dialogs: Option<Vec<String>>,
pub hide_connection_modal: Option<bool>,
pub hide_from_leaderboard: Option<bool>,
pub hide_name_from_leaderboard: Option<bool>,
pub hide_notifications: Option<Vec<String>>,
pub locale: Option<String>,
pub msgs_seen: Option<Vec<String>>,
pub order_book_binning: Option<BitmexOrderBookBinning>,
pub order_book_type: Option<String>,
pub order_clear_immediate: Option<bool>,
pub order_controls_plus_minus: Option<bool>,
pub show_locale_numbers: Option<bool>,
pub sounds: Option<Vec<String>>,
pub strict_ip_check: Option<bool>,
pub strict_timeout: Option<bool>,
pub ticker_group: Option<String>,
pub ticker_pinned: Option<bool>,
pub trade_layout: Option<String>,
}
Fields§
§alert_on_liquidations: Option<bool>
§animations_enabled: Option<bool>
§announcements_last_seen: Option<DateTime<Utc>>
§chat_channel_id: Option<f64>
§color_theme: Option<String>
§currency: Option<Ustr>
§debug: Option<bool>
§disable_emails: Option<Vec<String>>
§disable_push: Option<Vec<String>>
§hide_confirm_dialogs: Option<Vec<String>>
§hide_connection_modal: Option<bool>
§hide_from_leaderboard: Option<bool>
§hide_name_from_leaderboard: Option<bool>
§hide_notifications: Option<Vec<String>>
§locale: Option<String>
§msgs_seen: Option<Vec<String>>
§order_book_binning: Option<BitmexOrderBookBinning>
§order_book_type: Option<String>
§order_clear_immediate: Option<bool>
§order_controls_plus_minus: Option<bool>
§show_locale_numbers: Option<bool>
§sounds: Option<Vec<String>>
§strict_ip_check: Option<bool>
§strict_timeout: Option<bool>
§ticker_group: Option<String>
§ticker_pinned: Option<bool>
§trade_layout: Option<String>
Trait Implementations§
Source§impl Clone for BitmexUserPreferences
impl Clone for BitmexUserPreferences
Source§fn clone(&self) -> BitmexUserPreferences
fn clone(&self) -> BitmexUserPreferences
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 BitmexUserPreferences
impl Debug for BitmexUserPreferences
Source§impl Default for BitmexUserPreferences
impl Default for BitmexUserPreferences
Source§fn default() -> BitmexUserPreferences
fn default() -> BitmexUserPreferences
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BitmexUserPreferences
impl<'de> Deserialize<'de> for BitmexUserPreferences
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 BitmexUserPreferences
impl RefUnwindSafe for BitmexUserPreferences
impl Send for BitmexUserPreferences
impl Sync for BitmexUserPreferences
impl Unpin for BitmexUserPreferences
impl UnwindSafe for BitmexUserPreferences
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