pub struct QueryLimits {Show 21 fields
pub max_raw_query_bytes: usize,
pub max_raw_items: usize,
pub max_key_bytes: usize,
pub max_value_bytes: usize,
pub max_decoded_bytes: usize,
pub max_conditions: usize,
pub max_values_per_condition: usize,
pub max_logical_values: usize,
pub max_bind_slots: usize,
pub max_sort_fields: usize,
pub max_group_expr_bytes: usize,
pub max_group_depth: usize,
pub max_group_nodes: usize,
pub max_cursor_bytes: usize,
pub max_filter_steps: usize,
pub max_filter_items: usize,
pub max_filter_bytes: usize,
pub max_filter_micros: u64,
pub max_page_size: u32,
pub max_offset: u64,
pub timeout_ms: u64,
}Expand description
Runtime query limits. Entity limits can only make paging values stricter.
Fields§
§max_raw_query_bytes: usize§max_raw_items: usize§max_key_bytes: usize§max_value_bytes: usize§max_decoded_bytes: usize§max_conditions: usize§max_values_per_condition: usize§max_logical_values: usize§max_bind_slots: usize§max_sort_fields: usize§max_group_expr_bytes: usize§max_group_depth: usize§max_group_nodes: usize§max_cursor_bytes: usize§max_filter_steps: usize§max_filter_items: usize§max_filter_bytes: usize§max_filter_micros: u64Total wall-clock budget for trusted synchronous filters; checked after each step.
max_page_size: u32§max_offset: u64§timeout_ms: u64Trait Implementations§
Source§impl Clone for QueryLimits
impl Clone for QueryLimits
Source§fn clone(&self) -> QueryLimits
fn clone(&self) -> QueryLimits
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for QueryLimits
impl Debug for QueryLimits
Source§impl Default for QueryLimits
impl Default for QueryLimits
Source§fn default() -> QueryLimits
fn default() -> QueryLimits
Returns the “default value” for a type. Read more
impl Eq for QueryLimits
Source§impl PartialEq for QueryLimits
impl PartialEq for QueryLimits
impl StructuralPartialEq for QueryLimits
Auto Trait Implementations§
impl Freeze for QueryLimits
impl RefUnwindSafe for QueryLimits
impl Send for QueryLimits
impl Sync for QueryLimits
impl Unpin for QueryLimits
impl UnsafeUnpin for QueryLimits
impl UnwindSafe for QueryLimits
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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