pub struct QueryParameters<'a> {
pub consistency: Consistency,
pub serial_consistency: Option<SerialConsistency>,
pub timestamp: Option<i64>,
pub page_size: Option<i32>,
pub paging_state: Option<Bytes>,
pub values: Cow<'a, SerializedValues>,
}Fields§
§consistency: Consistency§serial_consistency: Option<SerialConsistency>§timestamp: Option<i64>§page_size: Option<i32>§paging_state: Option<Bytes>§values: Cow<'a, SerializedValues>Implementations§
Source§impl QueryParameters<'_>
impl QueryParameters<'_>
Source§impl<'q> QueryParameters<'q>
impl<'q> QueryParameters<'q>
pub fn deserialize(buf: &mut &[u8]) -> Result<QueryParameters<'q>, ParseError>
Trait Implementations§
Source§impl Default for QueryParameters<'_>
impl Default for QueryParameters<'_>
Source§fn default() -> QueryParameters<'_>
fn default() -> QueryParameters<'_>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'a> !Freeze for QueryParameters<'a>
impl<'a> RefUnwindSafe for QueryParameters<'a>
impl<'a> Send for QueryParameters<'a>
impl<'a> Sync for QueryParameters<'a>
impl<'a> Unpin for QueryParameters<'a>
impl<'a> UnwindSafe for QueryParameters<'a>
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more