pub enum InstrumentRequest {
Equity {
symbol: String,
},
Option {
symbol: String,
},
}Expand description
Similar to super::accounts::AccountsInstrument, but more simple
only support Equity, Option now in schwab API
Variants§
Trait Implementations§
Source§impl Clone for InstrumentRequest
impl Clone for InstrumentRequest
Source§fn clone(&self) -> InstrumentRequest
fn clone(&self) -> InstrumentRequest
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 InstrumentRequest
impl Debug for InstrumentRequest
Source§impl<'de> Deserialize<'de> for InstrumentRequest
impl<'de> Deserialize<'de> for InstrumentRequest
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
Source§impl From<AccountsInstrument> for InstrumentRequest
impl From<AccountsInstrument> for InstrumentRequest
Source§fn from(value: AccountsInstrument) -> Self
fn from(value: AccountsInstrument) -> Self
Converts to this type from the input type.
Source§impl From<InstrumentResponse> for InstrumentRequest
impl From<InstrumentResponse> for InstrumentRequest
Source§fn from(value: InstrumentResponse) -> Self
fn from(value: InstrumentResponse) -> Self
Converts to this type from the input type.
Source§impl PartialEq for InstrumentRequest
impl PartialEq for InstrumentRequest
Source§impl Serialize for InstrumentRequest
impl Serialize for InstrumentRequest
impl StructuralPartialEq for InstrumentRequest
Auto Trait Implementations§
impl Freeze for InstrumentRequest
impl RefUnwindSafe for InstrumentRequest
impl Send for InstrumentRequest
impl Sync for InstrumentRequest
impl Unpin for InstrumentRequest
impl UnwindSafe for InstrumentRequest
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