#[non_exhaustive]pub struct ExportFormat {
pub json_ietf: bool,
pub json_verbose: bool,
pub state_data_json_compact: bool,
}Expand description
The system export-format serialization of exported data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.json_ietf: booljson ietf: emit JSON according to the IETF YANG JSON encoding rules.
json_verbose: booljson verbose.
state_data_json_compact: boolstate-data json compact.
Trait Implementations§
Source§impl Clone for ExportFormat
impl Clone for ExportFormat
Source§impl Debug for ExportFormat
impl Debug for ExportFormat
impl Eq for ExportFormat
Source§impl PartialEq for ExportFormat
impl PartialEq for ExportFormat
impl StructuralPartialEq for ExportFormat
Auto Trait Implementations§
impl Forget for ExportFormat
impl Freeze for ExportFormat
impl Move for ExportFormat
impl RefUnwindSafe for ExportFormat
impl Send for ExportFormat
impl Sync for ExportFormat
impl Unpin for ExportFormat
impl UnsafeUnpin for ExportFormat
impl UnwindSafe for ExportFormat
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