pub struct BitmexUser {Show 17 fields
pub id: Option<i32>,
pub owner_id: Option<i32>,
pub firstname: Option<String>,
pub lastname: Option<String>,
pub username: String,
pub email: String,
pub phone: Option<String>,
pub created: Option<DateTime<Utc>>,
pub last_updated: Option<DateTime<Utc>>,
pub preferences: BitmexUserPreferences,
pub tfa_enabled: Option<String>,
pub affiliate_id: Option<String>,
pub pgp_pub_key: Option<String>,
pub country: Option<String>,
pub geoip_country: Option<String>,
pub geoip_region: Option<String>,
pub typ: Option<String>,
}
Expand description
Account Operations.
Fields§
§id: Option<i32>
§owner_id: Option<i32>
§firstname: Option<String>
§lastname: Option<String>
§username: String
§email: String
§phone: Option<String>
§created: Option<DateTime<Utc>>
§last_updated: Option<DateTime<Utc>>
§preferences: BitmexUserPreferences
§tfa_enabled: Option<String>
§affiliate_id: Option<String>
§pgp_pub_key: Option<String>
§country: Option<String>
§geoip_country: Option<String>
§geoip_region: Option<String>
§typ: Option<String>
Trait Implementations§
Source§impl Clone for BitmexUser
impl Clone for BitmexUser
Source§fn clone(&self) -> BitmexUser
fn clone(&self) -> BitmexUser
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 BitmexUser
impl Debug for BitmexUser
Source§impl<'de> Deserialize<'de> for BitmexUser
impl<'de> Deserialize<'de> for BitmexUser
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 BitmexUser
impl RefUnwindSafe for BitmexUser
impl Send for BitmexUser
impl Sync for BitmexUser
impl Unpin for BitmexUser
impl UnwindSafe for BitmexUser
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