pub struct BundleInitOptions {
pub title: String,
pub create_sample: bool,
pub sample_name: String,
pub author: Option<String>,
pub force: bool,
}Expand description
Options for initializing a new OKF bundle.
Fields§
§title: StringBundle title for the root index.
create_sample: boolWhether to create a sample concept (e.g. overview.md).
sample_name: StringThe name/id of the sample concept (default “overview”).
Author attribution for generated frontmatter (e.g. “human:alice”).
force: boolWhether to overwrite existing files if they already exist.
Trait Implementations§
Source§impl Clone for BundleInitOptions
impl Clone for BundleInitOptions
Source§fn clone(&self) -> BundleInitOptions
fn clone(&self) -> BundleInitOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BundleInitOptions
impl Debug for BundleInitOptions
Source§impl Default for BundleInitOptions
impl Default for BundleInitOptions
impl Eq for BundleInitOptions
Source§impl PartialEq for BundleInitOptions
impl PartialEq for BundleInitOptions
impl StructuralPartialEq for BundleInitOptions
Auto Trait Implementations§
impl Freeze for BundleInitOptions
impl RefUnwindSafe for BundleInitOptions
impl Send for BundleInitOptions
impl Sync for BundleInitOptions
impl Unpin for BundleInitOptions
impl UnsafeUnpin for BundleInitOptions
impl UnwindSafe for BundleInitOptions
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