pub struct JsonExportConfig {
pub exclude_isolated_nodes: bool,
pub pretty_print: bool,
pub include_metadata: bool,
}
Expand description
Configuration options for JSON export.
Fields§
§exclude_isolated_nodes: bool
If true, nodes with no incoming or outgoing edges will be excluded from the output.
pretty_print: bool
If true, the JSON output will be pretty-printed with indentation.
include_metadata: bool
If true, additional metadata will be included in the output.
Trait Implementations§
Source§impl Clone for JsonExportConfig
impl Clone for JsonExportConfig
Source§fn clone(&self) -> JsonExportConfig
fn clone(&self) -> JsonExportConfig
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 JsonExportConfig
impl Debug for JsonExportConfig
Source§impl Default for JsonExportConfig
impl Default for JsonExportConfig
Source§impl<'de> Deserialize<'de> for JsonExportConfig
impl<'de> Deserialize<'de> for JsonExportConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for JsonExportConfig
impl PartialEq for JsonExportConfig
Source§impl Serialize for JsonExportConfig
impl Serialize for JsonExportConfig
impl Eq for JsonExportConfig
impl StructuralPartialEq for JsonExportConfig
Auto Trait Implementations§
impl Freeze for JsonExportConfig
impl RefUnwindSafe for JsonExportConfig
impl Send for JsonExportConfig
impl Sync for JsonExportConfig
impl Unpin for JsonExportConfig
impl UnwindSafe for JsonExportConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.