pub struct AssetIndexRequest {
pub asset_index: i64,
pub landing_company: Option<LandingCompany>,
pub landing_company_short: Option<LandingCompanyShort>,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub req_id: Option<i64>,
}
Expand description
Retrieve a list of all available underlyings and the corresponding contract types and duration boundaries. If the user is logged in, only the assets available for that user’s landing company will be returned.
Fields§
§asset_index: i64
Must be 1
\n
landing_company: Option<LandingCompany>
Deprecated - replaced by landing_company_short.\n
landing_company_short: Option<LandingCompanyShort>
[Optional] If specified, will return only the underlyings for the specified landing company.\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
Trait Implementations§
Source§impl Clone for AssetIndexRequest
impl Clone for AssetIndexRequest
Source§fn clone(&self) -> AssetIndexRequest
fn clone(&self) -> AssetIndexRequest
Returns a copy 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 AssetIndexRequest
impl Debug for AssetIndexRequest
Source§impl<'de> Deserialize<'de> for AssetIndexRequest
impl<'de> Deserialize<'de> for AssetIndexRequest
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 AssetIndexRequest
impl RefUnwindSafe for AssetIndexRequest
impl Send for AssetIndexRequest
impl Sync for AssetIndexRequest
impl Unpin for AssetIndexRequest
impl UnwindSafe for AssetIndexRequest
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