pub struct ResultLimits {
pub max_results: usize,
pub max_result_bytes: usize,
pub max_total_bytes: usize,
pub max_aggregate_items: usize,
pub max_aggregate_bytes: usize,
}Expand description
Hard limits for retained completion results and aggregate reads.
Fields§
§max_results: usize§max_result_bytes: usize§max_total_bytes: usize§max_aggregate_items: usize§max_aggregate_bytes: usizeTrait Implementations§
Source§impl Clone for ResultLimits
impl Clone for ResultLimits
Source§fn clone(&self) -> ResultLimits
fn clone(&self) -> ResultLimits
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 moreimpl Copy for ResultLimits
Source§impl Debug for ResultLimits
impl Debug for ResultLimits
Source§impl Default for ResultLimits
impl Default for ResultLimits
impl Eq for ResultLimits
Source§impl PartialEq for ResultLimits
impl PartialEq for ResultLimits
impl StructuralPartialEq for ResultLimits
Auto Trait Implementations§
impl Freeze for ResultLimits
impl RefUnwindSafe for ResultLimits
impl Send for ResultLimits
impl Sync for ResultLimits
impl Unpin for ResultLimits
impl UnsafeUnpin for ResultLimits
impl UnwindSafe for ResultLimits
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more