pub struct FutureProductDetails {Show 23 fields
pub venue: Ustr,
pub contract_code: Ustr,
pub contract_expiry: String,
pub contract_size: String,
pub contract_root_unit: Ustr,
pub group_description: String,
pub contract_expiry_timezone: String,
pub group_short_description: String,
pub risk_managed_by: CoinbaseRiskManagedBy,
pub contract_expiry_type: CoinbaseContractExpiryType,
pub perpetual_details: Option<PerpetualDetails>,
pub contract_display_name: String,
pub time_to_expiry_ms: String,
pub non_crypto: bool,
pub contract_expiry_name: String,
pub twenty_four_by_seven: bool,
pub open_interest: String,
pub funding_rate: String,
pub funding_time: Option<String>,
pub funding_interval: Option<String>,
pub index_price: Option<String>,
pub display_name: String,
pub futures_asset_type: Option<CoinbaseFuturesAssetType>,
}Expand description
Future product details.
Fields§
§venue: Ustr§contract_code: Ustr§contract_expiry: String§contract_size: String§contract_root_unit: Ustr§group_description: String§contract_expiry_timezone: String§group_short_description: String§risk_managed_by: CoinbaseRiskManagedBy§contract_expiry_type: CoinbaseContractExpiryType§perpetual_details: Option<PerpetualDetails>§contract_display_name: String§time_to_expiry_ms: String§non_crypto: bool§contract_expiry_name: String§twenty_four_by_seven: bool§open_interest: String§funding_rate: String§funding_time: Option<String>§funding_interval: Option<String>§index_price: Option<String>§display_name: String§futures_asset_type: Option<CoinbaseFuturesAssetType>Trait Implementations§
Source§impl Clone for FutureProductDetails
impl Clone for FutureProductDetails
Source§fn clone(&self) -> FutureProductDetails
fn clone(&self) -> FutureProductDetails
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 FutureProductDetails
impl Debug for FutureProductDetails
Source§impl<'de> Deserialize<'de> for FutureProductDetails
impl<'de> Deserialize<'de> for FutureProductDetails
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 FutureProductDetails
impl RefUnwindSafe for FutureProductDetails
impl Send for FutureProductDetails
impl Sync for FutureProductDetails
impl Unpin for FutureProductDetails
impl UnsafeUnpin for FutureProductDetails
impl UnwindSafe for FutureProductDetails
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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