pub struct ExportConfig {
pub output_dir: PathBuf,
pub use_attachments: bool,
pub filename_format: String,
pub subdir_format: String,
pub use_subdirs: bool,
}Expand description
Configuration options for the export process.
Fields§
§output_dir: PathBufDirectory where notes will be exported
use_attachments: boolWhether to store images in a separate attachments folder
filename_format: StringFormat string for filenames (supports &title, &folder, &account, &id)
subdir_format: StringFormat string for subdirectories (supports &title, &folder, &account, &id)
use_subdirs: boolWhether to organize notes in subdirectories
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
Auto Trait Implementations§
impl Freeze for ExportConfig
impl RefUnwindSafe for ExportConfig
impl Send for ExportConfig
impl Sync for ExportConfig
impl Unpin 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