pub struct RollingOptionRequest {
pub exchange_segment: RollingExchangeSegment,
pub interval: RollingInterval,
pub security_id: u64,
pub instrument: RollingInstrument,
pub expiry_flag: RollingExpiryFlag,
pub expiry_code: RollingExpiryCode,
pub strike: String,
pub drv_option_type: RollingOptionType,
pub required_data: Vec<RollingDataField>,
pub from_date: String,
pub to_date: String,
}Expand description
Request for POST /v2/charts/rollingoption.
Fields§
§exchange_segment: RollingExchangeSegment§interval: RollingInterval§security_id: u64§instrument: RollingInstrument§expiry_flag: RollingExpiryFlag§expiry_code: RollingExpiryCode§strike: StringRelative strike expression such as ATM or ATM+1.
drv_option_type: RollingOptionType§required_data: Vec<RollingDataField>§from_date: StringStart date in YYYY-MM-DD format.
to_date: StringEnd date in YYYY-MM-DD format.
Trait Implementations§
Source§impl Clone for RollingOptionRequest
impl Clone for RollingOptionRequest
Source§fn clone(&self) -> RollingOptionRequest
fn clone(&self) -> RollingOptionRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RollingOptionRequest
impl Debug for RollingOptionRequest
Source§impl<'de> Deserialize<'de> for RollingOptionRequest
impl<'de> Deserialize<'de> for RollingOptionRequest
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 PartialEq for RollingOptionRequest
impl PartialEq for RollingOptionRequest
Source§impl Serialize for RollingOptionRequest
impl Serialize for RollingOptionRequest
impl StructuralPartialEq for RollingOptionRequest
Auto Trait Implementations§
impl Freeze for RollingOptionRequest
impl RefUnwindSafe for RollingOptionRequest
impl Send for RollingOptionRequest
impl Sync for RollingOptionRequest
impl Unpin for RollingOptionRequest
impl UnsafeUnpin for RollingOptionRequest
impl UnwindSafe for RollingOptionRequest
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