pub enum DocFormat {
Json,
Jsonc,
Jsonl,
Yaml,
}Expand description
Document format. JSON, JSONC, and JSONL parse through the same lenient
jsonc-parser tree; YAML uses the pure-Rust yaml-edit backend.
Variants§
Implementations§
Trait Implementations§
impl Copy for DocFormat
impl Eq for DocFormat
impl StructuralPartialEq for DocFormat
Auto Trait Implementations§
impl Freeze for DocFormat
impl RefUnwindSafe for DocFormat
impl Send for DocFormat
impl Sync for DocFormat
impl Unpin for DocFormat
impl UnsafeUnpin for DocFormat
impl UnwindSafe for DocFormat
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