pub enum OutputSpec {
Normal,
Escaped,
NoEscape,
}Expand description
Directive for how to treat a [Value] upon serialisation.
Variants§
Trait Implementations§
Source§impl Clone for OutputSpec
impl Clone for OutputSpec
Source§fn clone(&self) -> OutputSpec
fn clone(&self) -> OutputSpec
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 OutputSpec
impl Debug for OutputSpec
Source§impl PartialEq for OutputSpec
impl PartialEq for OutputSpec
impl StructuralPartialEq for OutputSpec
Auto Trait Implementations§
impl Freeze for OutputSpec
impl RefUnwindSafe for OutputSpec
impl Send for OutputSpec
impl Sync for OutputSpec
impl Unpin for OutputSpec
impl UnwindSafe for OutputSpec
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