pub struct PortfolioRequest {
pub contract_type: Option<Vec<ContractTypeItem>>,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub portfolio: i64,
pub req_id: Option<i64>,
}
Expand description
Receive information about my current portfolio of outstanding options
Fields§
§contract_type: Option<Vec<ContractTypeItem>>
Return only contracts of the specified types\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
portfolio: i64
Must be 1
\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
Trait Implementations§
Source§impl Clone for PortfolioRequest
impl Clone for PortfolioRequest
Source§fn clone(&self) -> PortfolioRequest
fn clone(&self) -> PortfolioRequest
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 PortfolioRequest
impl Debug for PortfolioRequest
Source§impl<'de> Deserialize<'de> for PortfolioRequest
impl<'de> Deserialize<'de> for PortfolioRequest
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 PortfolioRequest
impl RefUnwindSafe for PortfolioRequest
impl Send for PortfolioRequest
impl Sync for PortfolioRequest
impl Unpin for PortfolioRequest
impl UnwindSafe for PortfolioRequest
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