pub struct ContractsFor {
pub available: Vec<AvailableItem>,
pub close: Option<DateTime<Utc>>,
pub feed_license: Option<String>,
pub hit_count: Option<f64>,
pub non_available: Option<Vec<Value>>,
pub open: Option<DateTime<Utc>>,
pub spot: Option<String>,
}
Expand description
List of available contracts. Note: if the user is authenticated, then only contracts allowed under his account will be returned.
Fields§
§available: Vec<AvailableItem>
Array of available contracts details\n
close: Option<DateTime<Utc>>
Symbol’s next market-close time as an epoch value\n
feed_license: Option<String>
Indicates the feed license for symbol, for example whether its realtime or delayed\n
hit_count: Option<f64>
Count of contracts available\n
non_available: Option<Vec<Value>>
Array of non_available contracts details\n
open: Option<DateTime<Utc>>
Symbol’s next market-open time as an epoch value\n
spot: Option<String>
Current spot price for this underlying\n
Trait Implementations§
Source§impl Clone for ContractsFor
impl Clone for ContractsFor
Source§fn clone(&self) -> ContractsFor
fn clone(&self) -> ContractsFor
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 ContractsFor
impl Debug for ContractsFor
Source§impl<'de> Deserialize<'de> for ContractsFor
impl<'de> Deserialize<'de> for ContractsFor
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 ContractsFor
impl RefUnwindSafe for ContractsFor
impl Send for ContractsFor
impl Sync for ContractsFor
impl Unpin for ContractsFor
impl UnwindSafe for ContractsFor
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