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