Struct cdrs::frame::frame_query::BodyReqQuery
[−]
[src]
pub struct BodyReqQuery { pub query: CStringLong, pub query_params: ParamsReqQuery, }
Structure which represents body of Query request
Fields
query: CStringLong
Query string.
query_params: ParamsReqQuery
Query parameters.
Methods
impl BodyReqQuery
[src]
fn new(query: String,
consistency: Consistency,
values: Option<Vec<Value>>,
with_names: Option<bool>,
page_size: Option<i32>,
paging_state: Option<CBytes>,
serial_consistency: Option<Consistency>,
timestamp: Option<i64>)
-> BodyReqQuery
consistency: Consistency,
values: Option<Vec<Value>>,
with_names: Option<bool>,
page_size: Option<i32>,
paging_state: Option<CBytes>,
serial_consistency: Option<Consistency>,
timestamp: Option<i64>)
-> BodyReqQuery
Note: shold be used by internal stuff only. Fabric function that produces Query request body.
Trait Implementations
impl IntoBytes for BodyReqQuery
[src]
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.