pub struct ExportSettings {
pub format: ExportFormat,
pub module_roots: Vec<String>,
pub module_depth: usize,
pub children: ChildIncludeMode,
pub min_code: usize,
pub max_rows: usize,
pub redact: RedactMode,
pub meta: bool,
pub strip_prefix: Option<String>,
}Expand description
Settings for file-level export (tokmd export).
Fields§
§format: ExportFormatOutput format.
module_roots: Vec<String>Module roots (see ModuleSettings).
module_depth: usizeModule depth (see ModuleSettings).
children: ChildIncludeModeHow to handle embedded languages.
min_code: usizeDrop rows with fewer than N code lines.
max_rows: usizeStop after emitting N rows (0 = unlimited).
redact: RedactModeRedaction mode.
meta: boolInclude a meta record.
strip_prefix: Option<String>Strip this prefix from paths.
Trait Implementations§
Source§impl Clone for ExportSettings
impl Clone for ExportSettings
Source§fn clone(&self) -> ExportSettings
fn clone(&self) -> ExportSettings
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 ExportSettings
impl Debug for ExportSettings
Source§impl Default for ExportSettings
impl Default for ExportSettings
Source§impl<'de> Deserialize<'de> for ExportSettings
impl<'de> Deserialize<'de> for ExportSettings
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
Auto Trait Implementations§
impl Freeze for ExportSettings
impl RefUnwindSafe for ExportSettings
impl Send for ExportSettings
impl Sync for ExportSettings
impl Unpin for ExportSettings
impl UnsafeUnpin for ExportSettings
impl UnwindSafe for ExportSettings
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