Struct cdrs::frame::frame_query::ParamsReqQuery
[−]
[src]
pub struct ParamsReqQuery { pub consistency: Consistency, pub flags: Vec<QueryFlags>, pub values: Option<Vec<Value>>, pub page_size: Option<i32>, pub paging_state: Option<CBytes>, pub serial_consistency: Option<Consistency>, pub timestamp: Option<i64>, }
Parameters of Query request.
Fields
consistency: Consistency
Cassandra consistency level.
flags: Vec<QueryFlags>
Array of query flags.
values: Option<Vec<Value>>
Array of values.
page_size: Option<i32>
Page size.
paging_state: Option<CBytes>
Array of bytes which represents paging state.
serial_consistency: Option<Consistency>
Serial Consistency
.
timestamp: Option<i64>
Timestamp.
Methods
impl ParamsReqQuery
[src]
fn set_values(&mut self, values: Vec<Value>)
Sets values of Query request params.
Trait Implementations
impl Debug for ParamsReqQuery
[src]
impl IntoBytes for ParamsReqQuery
[src]
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.