pub struct RuntimeLimits {
pub max_operations: usize,
pub max_items: usize,
pub max_depth: usize,
pub max_batch_get_items: usize,
}Expand description
Execution-time upper bounds, layered on top of the TS-defined limits.
Fields§
§max_operations: usizeMaximum number of operations a single query may expand to.
max_items: usizeMaximum number of items a read (or BatchGet fan-out) may involve.
max_depth: usizeMaximum relation-traversal depth.
max_batch_get_items: usizeMaximum keys per BatchGetItem request (chunk size).
Trait Implementations§
Source§impl Clone for RuntimeLimits
impl Clone for RuntimeLimits
Source§fn clone(&self) -> RuntimeLimits
fn clone(&self) -> RuntimeLimits
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 RuntimeLimits
Source§impl Debug for RuntimeLimits
impl Debug for RuntimeLimits
Auto Trait Implementations§
impl Freeze for RuntimeLimits
impl RefUnwindSafe for RuntimeLimits
impl Send for RuntimeLimits
impl Sync for RuntimeLimits
impl Unpin for RuntimeLimits
impl UnsafeUnpin for RuntimeLimits
impl UnwindSafe for RuntimeLimits
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<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 moreCreates a shared type from an unshared type.