pub struct QueryParameters<'a> {
pub consistency: Consistency,
pub serial_consistency: Option<SerialConsistency>,
pub timestamp: Option<i64>,
pub page_size: Option<i32>,
pub paging_state: PagingState,
pub skip_metadata: bool,
pub values: Cow<'a, SerializedValues>,
}
Fields§
§consistency: Consistency
§serial_consistency: Option<SerialConsistency>
§timestamp: Option<i64>
§page_size: Option<i32>
§paging_state: PagingState
§skip_metadata: bool
§values: Cow<'a, SerializedValues>
Implementations§
Source§impl QueryParameters<'_>
impl QueryParameters<'_>
Source§impl QueryParameters<'_>
impl QueryParameters<'_>
pub fn deserialize(buf: &mut &[u8]) -> Result<Self, RequestDeserializationError>
Trait Implementations§
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> 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