pub enum WithDefaultsValue {
ReportAll,
ReportAllTagged,
Trim,
Explicit,
}Expand description
with-defaults mode (RFC6243).
Variants§
ReportAll
Report every default.
ReportAllTagged
Report every default, tagged.
Trim
Omit values equal to their default.
Explicit
Report only explicitly set values.
Trait Implementations§
Source§impl Clone for WithDefaultsValue
impl Clone for WithDefaultsValue
impl Copy for WithDefaultsValue
Source§impl Debug for WithDefaultsValue
impl Debug for WithDefaultsValue
Source§impl FromStr for WithDefaultsValue
impl FromStr for WithDefaultsValue
Auto Trait Implementations§
impl Freeze for WithDefaultsValue
impl RefUnwindSafe for WithDefaultsValue
impl Send for WithDefaultsValue
impl Sync for WithDefaultsValue
impl Unpin for WithDefaultsValue
impl UnsafeUnpin for WithDefaultsValue
impl UnwindSafe for WithDefaultsValue
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