pub struct AdrConfig {
pub prefix: String,
pub digits: u8,
pub template: String,
pub format: String,
pub initialized: bool,
}Expand description
Configuration for git-adr.
Fields§
§prefix: StringPrefix for ADR IDs (default: “ADR-”).
digits: u8Number of digits in ADR ID (default: 4).
template: StringDefault template name.
format: StringDefault format (nygard, madr, etc.).
initialized: boolWhether the repository is initialized for ADRs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for AdrConfig
impl RefUnwindSafe for AdrConfig
impl Send for AdrConfig
impl Sync for AdrConfig
impl Unpin for AdrConfig
impl UnwindSafe for AdrConfig
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