[−][src]Struct jqdata::RunQuery
模拟JQDataSDK的run_query方法 run_query api 是模拟了JQDataSDK run_query方法获取财务、宏观、期权等数据 可查询的数据内容请查看JQData文档 以查询上市公司分红送股(除权除息)数据为例: 参数: table: 要查询的数据库和表名,格式为 database + . + tablename 如finance.STK_XR_XD columns: 所查字段,为空时则查询所有字段,多个字段中间用,分隔。如id,company_id,columns不能有空格等特殊字符 conditions: 查询条件,可以为空,格式为report_date#>=#2006-12-01&report_date#<=#2006-12-31,条件内部#号分隔,格式: column # 判断符 # value,多个条件使用&号分隔,表示and,conditions不能有空格等特殊字符 count: 查询条数,count为空时默认1条,最多查询1000条
Fields
table: String
columns: String
conditions: Option<String>
count: Option<u32>
Trait Implementations
impl BodyConsumer<Vec<String>> for RunQuery
[src]
impl Debug for RunQuery
[src]
impl<'de> Deserialize<'de> for RunQuery
[src]
fn deserialize<__D>(
__deserializer: __D
) -> Result<RunQuery, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
[src]
__deserializer: __D
) -> Result<RunQuery, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
impl HasMethod for RunQuery
[src]
impl LineBodyConsumer for RunQuery
[src]
impl Serialize for RunQuery
[src]
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
[src]
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error> where
__S: Serializer,
Auto Trait Implementations
impl RefUnwindSafe for RunQuery
impl Send for RunQuery
impl Sync for RunQuery
impl Unpin for RunQuery
impl UnwindSafe for RunQuery
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,