pub struct ReleaseConfig {
pub branches: Vec<String>,
pub tag_prefix: String,
pub commit_pattern: String,
pub breaking_section: String,
pub misc_section: String,
pub types: Vec<CommitType>,
pub changelog: ChangelogConfig,
pub version_files: Vec<String>,
pub version_files_strict: bool,
pub artifacts: Vec<String>,
pub floating_tags: bool,
}Fields§
§branches: Vec<String>§tag_prefix: String§commit_pattern: String§breaking_section: String§misc_section: String§types: Vec<CommitType>§changelog: ChangelogConfig§version_files: Vec<String>§version_files_strict: bool§artifacts: Vec<String>Implementations§
Source§impl ReleaseConfig
impl ReleaseConfig
Sourcepub fn load(path: &Path) -> Result<Self, ReleaseError>
pub fn load(path: &Path) -> Result<Self, ReleaseError>
Load config from a YAML file, falling back to defaults if the file doesn’t exist.
Trait Implementations§
Source§impl Clone for ReleaseConfig
impl Clone for ReleaseConfig
Source§fn clone(&self) -> ReleaseConfig
fn clone(&self) -> ReleaseConfig
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 ReleaseConfig
impl Debug for ReleaseConfig
Source§impl Default for ReleaseConfig
impl Default for ReleaseConfig
Source§impl<'de> Deserialize<'de> for ReleaseConfigwhere
ReleaseConfig: Default,
impl<'de> Deserialize<'de> for ReleaseConfigwhere
ReleaseConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReleaseConfig
impl RefUnwindSafe for ReleaseConfig
impl Send for ReleaseConfig
impl Sync for ReleaseConfig
impl Unpin for ReleaseConfig
impl UnwindSafe for ReleaseConfig
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