pub struct QueryRouting {
pub query_type: QueryType,
pub partition_key: Option<PartitionKey>,
pub requires_all_shards: bool,
}Expand description
Query routing information.
Fields§
§query_type: QueryType§partition_key: Option<PartitionKey>§requires_all_shards: boolTrait Implementations§
Source§impl Clone for QueryRouting
impl Clone for QueryRouting
Source§fn clone(&self) -> QueryRouting
fn clone(&self) -> QueryRouting
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for QueryRouting
impl RefUnwindSafe for QueryRouting
impl Send for QueryRouting
impl Sync for QueryRouting
impl Unpin for QueryRouting
impl UnsafeUnpin for QueryRouting
impl UnwindSafe for QueryRouting
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