pub struct CborOptions {
pub max_byte_length: usize,
pub max_container_length: usize,
pub max_depth: usize,
}Fields§
§max_byte_length: usizeMaximum encoded input/output bytes and maximum byte/text string length.
max_container_length: usizeMaximum number of elements in an array or entries in a map.
max_depth: usizeMaximum recursive item depth.
Trait Implementations§
Source§impl Clone for CborOptions
impl Clone for CborOptions
impl Copy for CborOptions
Source§impl Debug for CborOptions
impl Debug for CborOptions
Source§impl Default for CborOptions
impl Default for CborOptions
impl Eq for CborOptions
Source§impl PartialEq for CborOptions
impl PartialEq for CborOptions
impl StructuralPartialEq for CborOptions
Auto Trait Implementations§
impl Forget for CborOptions
impl Freeze for CborOptions
impl Move for CborOptions
impl RefUnwindSafe for CborOptions
impl Send for CborOptions
impl Sync for CborOptions
impl Unpin for CborOptions
impl UnsafeUnpin for CborOptions
impl UnwindSafe for CborOptions
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.