pub struct ProjectImportOptions {
pub name: Option<String>,
pub markdown_split: Option<MarkdownSplit>,
pub rtf_split: Option<RtfSplit>,
pub chapter_pattern: Option<String>,
pub chapter_groups: Option<bool>,
}Expand description
The optional inputs of import; leave any out with ..Default::default().
Fields§
§name: Option<String>Left out, the title the file gives itself.
markdown_split: Option<MarkdownSplit>§rtf_split: Option<RtfSplit>§chapter_pattern: Option<String>A regular expression for the lines that start a chapter; left out, chapter, part, prologue, and epilogue.
chapter_groups: Option<bool>Put each chapter’s scenes in a group.
Trait Implementations§
Source§impl Clone for ProjectImportOptions
impl Clone for ProjectImportOptions
Source§impl Debug for ProjectImportOptions
impl Debug for ProjectImportOptions
Source§impl Default for ProjectImportOptions
impl Default for ProjectImportOptions
Source§impl PartialEq for ProjectImportOptions
impl PartialEq for ProjectImportOptions
Source§impl Serialize for ProjectImportOptions
impl Serialize for ProjectImportOptions
impl StructuralPartialEq for ProjectImportOptions
Auto Trait Implementations§
impl Freeze for ProjectImportOptions
impl RefUnwindSafe for ProjectImportOptions
impl Send for ProjectImportOptions
impl Sync for ProjectImportOptions
impl Unpin for ProjectImportOptions
impl UnsafeUnpin for ProjectImportOptions
impl UnwindSafe for ProjectImportOptions
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