pub struct ServerLimits {
pub request_body_bytes: usize,
pub json_depth: usize,
pub json_nodes: usize,
pub request_body_timeout: Duration,
pub batch_items: usize,
pub concurrent_operations: usize,
pub response_bytes: usize,
pub proof_bytes: usize,
pub witness_bytes: u64,
pub query: ExecutionLimits,
}Expand description
Complete resource policy enforced by one HTTP server process.
Fields§
§request_body_bytes: usizeMaximum complete JSON request bytes.
json_depth: usizeMaximum JSON nesting depth.
json_nodes: usizeMaximum JSON scalar, array, and object nodes.
request_body_timeout: DurationMaximum time allowed to receive one complete JSON request body.
batch_items: usizeMaximum records or keys in one atomic mutation batch.
concurrent_operations: usizeMaximum admitted concurrent data operations.
response_bytes: usizeMaximum serialized JSON response bytes.
proof_bytes: usizeMaximum canonical proof bytes before base64 transport.
witness_bytes: u64Maximum downloadable snapshot witness bytes.
query: ExecutionLimitsDeterministic structured-query work, shape, result, and timeout limits.
Trait Implementations§
Source§impl Clone for ServerLimits
impl Clone for ServerLimits
Source§fn clone(&self) -> ServerLimits
fn clone(&self) -> ServerLimits
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 ServerLimits
impl Debug for ServerLimits
Source§impl Default for ServerLimits
impl Default for ServerLimits
impl Eq for ServerLimits
Source§impl PartialEq for ServerLimits
impl PartialEq for ServerLimits
impl StructuralPartialEq for ServerLimits
Auto Trait Implementations§
impl Freeze for ServerLimits
impl RefUnwindSafe for ServerLimits
impl Send for ServerLimits
impl Sync for ServerLimits
impl Unpin for ServerLimits
impl UnsafeUnpin for ServerLimits
impl UnwindSafe for ServerLimits
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