pub struct GetDominantFuture {
pub code: String,
pub date: String,
}
Expand description
获取主力合约对应的标的 参数: code: 期货合约品种,如 AG (白银) date: 指定日期参数,获取历史上该日期的主力期货合约
Fields§
§code: String
§date: String
Trait Implementations§
Source§impl Debug for GetDominantFuture
impl Debug for GetDominantFuture
Source§impl<'de> Deserialize<'de> for GetDominantFuture
impl<'de> Deserialize<'de> for GetDominantFuture
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 Request for GetDominantFuture
impl Request for GetDominantFuture
Source§impl Response for GetDominantFuture
impl Response for GetDominantFuture
Auto Trait Implementations§
impl Freeze for GetDominantFuture
impl RefUnwindSafe for GetDominantFuture
impl Send for GetDominantFuture
impl Sync for GetDominantFuture
impl Unpin for GetDominantFuture
impl UnwindSafe for GetDominantFuture
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