pub struct BrokerAccount {
pub id: String,
pub account_number: String,
pub status: BrokerAccountStatus,
pub crypto_status: Option<BrokerAccountStatus>,
pub currency: String,
pub created_at: DateTime<Utc>,
pub contact: Option<Contact>,
pub identity: Option<Identity>,
pub disclosures: Option<Disclosures>,
pub agreements: Option<Vec<Agreement>>,
pub trusted_contact: Option<TrustedContact>,
}Expand description
Broker account.
Fields§
§id: StringAccount ID.
account_number: StringAccount number.
status: BrokerAccountStatusAccount status.
crypto_status: Option<BrokerAccountStatus>Crypto status.
currency: StringCurrency.
created_at: DateTime<Utc>Created at timestamp.
contact: Option<Contact>Contact information.
identity: Option<Identity>Identity information.
disclosures: Option<Disclosures>Disclosures.
agreements: Option<Vec<Agreement>>Agreements.
trusted_contact: Option<TrustedContact>Trusted contact.
Trait Implementations§
Source§impl Clone for BrokerAccount
impl Clone for BrokerAccount
Source§fn clone(&self) -> BrokerAccount
fn clone(&self) -> BrokerAccount
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 BrokerAccount
impl Debug for BrokerAccount
Source§impl<'de> Deserialize<'de> for BrokerAccount
impl<'de> Deserialize<'de> for BrokerAccount
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BrokerAccount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BrokerAccount, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for BrokerAccount
impl Serialize for BrokerAccount
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for BrokerAccount
impl RefUnwindSafe for BrokerAccount
impl Send for BrokerAccount
impl Sync for BrokerAccount
impl Unpin for BrokerAccount
impl UnwindSafe for BrokerAccount
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