pub struct DecodeOptions {
pub indent: Indent,
pub strict: bool,
pub expand_paths: ExpandPaths,
}Fields§
§indent: Indent§strict: bool§expand_paths: ExpandPathsImplementations§
Source§impl DecodeOptions
impl DecodeOptions
pub fn new() -> Self
pub fn with_indent(self, indent: Indent) -> Self
pub fn with_strict(self, strict: bool) -> Self
pub fn with_expand_paths(self, expand_paths: ExpandPaths) -> Self
Trait Implementations§
Source§impl Clone for DecodeOptions
impl Clone for DecodeOptions
Source§fn clone(&self) -> DecodeOptions
fn clone(&self) -> DecodeOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 DecodeOptions
impl Debug for DecodeOptions
Auto Trait Implementations§
impl Freeze for DecodeOptions
impl RefUnwindSafe for DecodeOptions
impl Send for DecodeOptions
impl Sync for DecodeOptions
impl Unpin for DecodeOptions
impl UnwindSafe for DecodeOptions
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