pub enum TemplateVariant {
Full,
Minimal,
Bare,
BareMinimal,
}Expand description
Template variants for different levels of detail.
The variant names follow the MADR naming convention:
- Full: All sections with guidance text
- Minimal: Core sections only, with guidance text
- Bare: All sections, but empty (no guidance)
- BareMinimal: Core sections only, empty (no guidance)
Variants§
Full
Full template with all sections and guidance.
Minimal
Minimal template with essential sections only (with guidance).
Bare
Bare template - all sections but empty/placeholder content.
BareMinimal
Bare-minimal template - fewest sections, empty content.
Trait Implementations§
Source§impl Clone for TemplateVariant
impl Clone for TemplateVariant
Source§fn clone(&self) -> TemplateVariant
fn clone(&self) -> TemplateVariant
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 TemplateVariant
impl Debug for TemplateVariant
Source§impl Default for TemplateVariant
impl Default for TemplateVariant
Source§fn default() -> TemplateVariant
fn default() -> TemplateVariant
Returns the “default value” for a type. Read more
Source§impl Display for TemplateVariant
impl Display for TemplateVariant
Source§impl FromStr for TemplateVariant
impl FromStr for TemplateVariant
Source§impl PartialEq for TemplateVariant
impl PartialEq for TemplateVariant
impl Copy for TemplateVariant
impl Eq for TemplateVariant
impl StructuralPartialEq for TemplateVariant
Auto Trait Implementations§
impl Freeze for TemplateVariant
impl RefUnwindSafe for TemplateVariant
impl Send for TemplateVariant
impl Sync for TemplateVariant
impl Unpin for TemplateVariant
impl UnwindSafe for TemplateVariant
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.