pub struct DeribitAccountSummariesResponse {Show 15 fields
pub summaries: Vec<DeribitAccountSummary>,
pub id: Option<i64>,
pub email: Option<String>,
pub system_name: Option<String>,
pub username: Option<String>,
pub account_type: Option<String>,
pub creation_timestamp: Option<i64>,
pub referrer_id: Option<String>,
pub login_enabled: Option<bool>,
pub security_keys_enabled: Option<bool>,
pub mmp_enabled: Option<bool>,
pub interuser_transfers_enabled: Option<bool>,
pub self_trading_reject_mode: Option<String>,
pub self_trading_extended_to_subaccounts: Option<bool>,
pub block_rfq_self_match_prevention: Option<bool>,
}Expand description
Wrapper for the account summaries response.
The API returns an object with a summaries field containing the array of account summaries,
plus account-level metadata.
Fields§
§summaries: Vec<DeribitAccountSummary>Array of per-currency account summaries
id: Option<i64>Account ID
email: Option<String>Account email
system_name: Option<String>System name
username: Option<String>Account username
account_type: Option<String>Account type (e.g., “main”, “subaccount”)
creation_timestamp: Option<i64>Account creation timestamp (milliseconds since UNIX epoch)
referrer_id: Option<String>Referrer ID (affiliation program)
login_enabled: Option<bool>Whether login is enabled for this account
security_keys_enabled: Option<bool>Whether security keys are enabled
mmp_enabled: Option<bool>Whether MMP (Market Maker Protection) is enabled
interuser_transfers_enabled: Option<bool>Whether inter-user transfers are enabled
self_trading_reject_mode: Option<String>Self-trading reject mode
self_trading_extended_to_subaccounts: Option<bool>Whether self-trading is extended to subaccounts
block_rfq_self_match_prevention: Option<bool>Block RFQ self match prevention
Trait Implementations§
Source§impl Clone for DeribitAccountSummariesResponse
impl Clone for DeribitAccountSummariesResponse
Source§fn clone(&self) -> DeribitAccountSummariesResponse
fn clone(&self) -> DeribitAccountSummariesResponse
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for DeribitAccountSummariesResponse
impl<'de> Deserialize<'de> for DeribitAccountSummariesResponse
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 DeribitAccountSummariesResponse
impl RefUnwindSafe for DeribitAccountSummariesResponse
impl Send for DeribitAccountSummariesResponse
impl Sync for DeribitAccountSummariesResponse
impl Unpin for DeribitAccountSummariesResponse
impl UnwindSafe for DeribitAccountSummariesResponse
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