pub struct MarginCallEnterTransaction {
pub id: Option<TransactionID>,
pub time: Option<Timestamp>,
pub user_id: Option<i64>,
pub account_id: Option<AccountID>,
pub batch_id: Option<TransactionID>,
pub request_id: Option<RequestID>,
pub type: Option<TransactionType>,
}Expand description
A MarginCallEnterTransaction is created when an Account enters the margin call state.
Fields§
§id: Option<TransactionID>The Transaction’s Identifier.
time: Option<Timestamp>The date/time when the Transaction was created.
user_id: Option<i64>The ID of the user that initiated the creation of the Transaction.
account_id: Option<AccountID>The ID of the Account the Transaction was created for.
batch_id: Option<TransactionID>The ID of the “batch” that the Transaction belongs to. Transactions in the same batch are applied to the Account simultaneously.
request_id: Option<RequestID>The Request ID of the request which generated the transaction.
type: Option<TransactionType>The Type of the Transaction. Always set to “MARGIN_CALL_ENTER” for an MarginCallEnterTransaction.
Trait Implementations§
Source§impl Clone for MarginCallEnterTransaction
impl Clone for MarginCallEnterTransaction
Source§impl Debug for MarginCallEnterTransaction
impl Debug for MarginCallEnterTransaction
Source§impl<'de> Deserialize<'de> for MarginCallEnterTransaction
impl<'de> Deserialize<'de> for MarginCallEnterTransaction
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
impl StructuralPartialEq for MarginCallEnterTransaction
Auto Trait Implementations§
impl Freeze for MarginCallEnterTransaction
impl RefUnwindSafe for MarginCallEnterTransaction
impl Send for MarginCallEnterTransaction
impl Sync for MarginCallEnterTransaction
impl Unpin for MarginCallEnterTransaction
impl UnsafeUnpin for MarginCallEnterTransaction
impl UnwindSafe for MarginCallEnterTransaction
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