pub struct QueryLimits {
pub max_address: u128,
pub max_bytes: usize,
pub max_depth: usize,
pub max_nodes: usize,
pub max_results: usize,
pub max_bindings: usize,
pub max_binding_bytes: usize,
}Expand description
Admission limits selected by a checked storage adapter. Existing CLI stores retain their established behavior when no limits are selected.
Fields§
§max_address: u128§max_bytes: usize§max_depth: usize§max_nodes: usize§max_results: usize§max_bindings: usize§max_binding_bytes: usizeImplementations§
Source§impl QueryLimits
impl QueryLimits
Trait Implementations§
Source§impl Clone for QueryLimits
impl Clone for QueryLimits
impl Copy 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