pub struct GitAdapterConfig {
pub repository_path: Option<PathBuf>,
pub default_remote: String,
pub sign_commits: bool,
pub sign_tags: bool,
pub commit_template: Option<String>,
pub tag_template: Option<String>,
}Expand description
Git adapter configuration
Fields§
§repository_path: Option<PathBuf>Path to repository
default_remote: StringRemote name
sign_commits: boolWhether to sign commits
Whether to sign tags
commit_template: Option<String>Commit message template
tag_template: Option<String>Tag name template
Trait Implementations§
Source§impl Clone for GitAdapterConfig
impl Clone for GitAdapterConfig
Source§fn clone(&self) -> GitAdapterConfig
fn clone(&self) -> GitAdapterConfig
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 GitAdapterConfig
impl Debug for GitAdapterConfig
Source§impl Default for GitAdapterConfig
impl Default for GitAdapterConfig
Auto Trait Implementations§
impl Freeze for GitAdapterConfig
impl RefUnwindSafe for GitAdapterConfig
impl Send for GitAdapterConfig
impl Sync for GitAdapterConfig
impl Unpin for GitAdapterConfig
impl UnsafeUnpin for GitAdapterConfig
impl UnwindSafe for GitAdapterConfig
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