#[non_exhaustive]pub enum AccountFinancingMode {
NoFinancing,
SecondBySecond,
Daily,
Unknown(String),
}Expand description
The financing mode of an Account
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoFinancing
No financing is paid/charged for open Trades in the Account
SecondBySecond
Second-by-second financing is paid/charged for open Trades in the Account, both daily and when the the Trade is closed
Daily
A full day’s worth of financing is paid/charged for open Trades in the Account daily at 5pm New York time
Unknown(String)
An unrecognized provider value, preserved for forward compatibility.
Implementations§
Trait Implementations§
Source§impl Clone for AccountFinancingMode
impl Clone for AccountFinancingMode
Source§impl Debug for AccountFinancingMode
impl Debug for AccountFinancingMode
Source§impl<'de> Deserialize<'de> for AccountFinancingMode
impl<'de> Deserialize<'de> for AccountFinancingMode
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AccountFinancingMode
Source§impl Hash for AccountFinancingMode
impl Hash for AccountFinancingMode
Source§impl PartialEq for AccountFinancingMode
impl PartialEq for AccountFinancingMode
Source§impl Serialize for AccountFinancingMode
impl Serialize for AccountFinancingMode
impl StructuralPartialEq for AccountFinancingMode
Auto Trait Implementations§
impl Freeze for AccountFinancingMode
impl RefUnwindSafe for AccountFinancingMode
impl Send for AccountFinancingMode
impl Sync for AccountFinancingMode
impl Unpin for AccountFinancingMode
impl UnsafeUnpin for AccountFinancingMode
impl UnwindSafe for AccountFinancingMode
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