pub struct ExportConfig {
pub min_code: Option<usize>,
pub max_rows: Option<usize>,
pub redact: Option<String>,
pub format: Option<String>,
pub children: Option<String>,
}Expand description
Export command settings.
Fields§
§min_code: Option<usize>Minimum lines of code to include.
max_rows: Option<usize>Maximum rows in output.
redact: Option<String>Redaction mode: “none”, “paths”, or “all”.
format: Option<String>Output format: “jsonl”, “csv”, “json”, “cyclonedx”.
children: Option<String>Children handling: “collapse” or “separate”.
Trait Implementations§
Source§impl Clone for ExportConfig
impl Clone for ExportConfig
Source§fn clone(&self) -> ExportConfig
fn clone(&self) -> ExportConfig
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 ExportConfig
impl Debug for ExportConfig
Source§impl Default for ExportConfig
impl Default for ExportConfig
Source§fn default() -> ExportConfig
fn default() -> ExportConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExportConfigwhere
ExportConfig: Default,
impl<'de> Deserialize<'de> for ExportConfigwhere
ExportConfig: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExportConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExportConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ExportConfig
impl Serialize for ExportConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin for ExportConfig
impl UnsafeUnpin for ExportConfig
impl UnwindSafe for ExportConfig
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