pub struct Options {
pub min_roots: Option<usize>,
pub max_roots: Option<usize>,
}Expand description
BOC deserialization options.
Fields§
§min_roots: Option<usize>The minimum allowed root count.
max_roots: Option<usize>The maximum allowed root count.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnwindSafe for Options
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