pub struct JsonLimits {
pub max_depth: usize,
pub max_string_len: usize,
pub max_array_len: usize,
pub max_object_len: usize,
pub max_node_count: usize,
pub duplicate_key_policy: DuplicateKeyPolicy,
}Fields§
§max_depth: usize§max_string_len: usize§max_array_len: usize§max_object_len: usize§max_node_count: usize§duplicate_key_policy: DuplicateKeyPolicyTrait Implementations§
Source§impl Clone for JsonLimits
impl Clone for JsonLimits
Source§fn clone(&self) -> JsonLimits
fn clone(&self) -> JsonLimits
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 JsonLimits
impl Debug for JsonLimits
Source§impl PartialEq for JsonLimits
impl PartialEq for JsonLimits
Source§fn eq(&self, other: &JsonLimits) -> bool
fn eq(&self, other: &JsonLimits) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for JsonLimits
impl Eq for JsonLimits
impl StructuralPartialEq for JsonLimits
Auto Trait Implementations§
impl Freeze for JsonLimits
impl RefUnwindSafe for JsonLimits
impl Send for JsonLimits
impl Sync for JsonLimits
impl Unpin for JsonLimits
impl UnsafeUnpin for JsonLimits
impl UnwindSafe for JsonLimits
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