pub struct OptionChainRequest {
pub UnderlyingScrip: u64,
pub UnderlyingSeg: String,
pub Expiry: String,
}Expand description
Request body for fetching the option chain.
Used by POST /v2/optionchain.
Note: field names use PascalCase in the API.
Fields§
§UnderlyingScrip: u64Security ID of the underlying instrument.
UnderlyingSeg: StringExchange & segment of the underlying.
Expiry: StringExpiry date (YYYY-MM-DD).
Trait Implementations§
Source§impl Clone for OptionChainRequest
impl Clone for OptionChainRequest
Source§fn clone(&self) -> OptionChainRequest
fn clone(&self) -> OptionChainRequest
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 OptionChainRequest
impl Debug for OptionChainRequest
Auto Trait Implementations§
impl Freeze for OptionChainRequest
impl RefUnwindSafe for OptionChainRequest
impl Send for OptionChainRequest
impl Sync for OptionChainRequest
impl Unpin for OptionChainRequest
impl UnsafeUnpin for OptionChainRequest
impl UnwindSafe for OptionChainRequest
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