pub struct ReleaseOptions {
pub repo_root: PathBuf,
pub owner: String,
pub repo: String,
pub base_branch: Option<String>,
pub bump: Option<BumpLevel>,
pub tag_prefix: String,
pub update_major_alias: bool,
pub commit_message: String,
pub dry_run: bool,
}Fields§
§repo_root: PathBuf§owner: String§repo: String§base_branch: Option<String>§bump: Option<BumpLevel>Forced bump level; None derives it from conventional commits.
tag_prefix: String§update_major_alias: bool§commit_message: StringCommit message template; {version} is replaced with the new version.
dry_run: boolTrait Implementations§
Source§impl Clone for ReleaseOptions
impl Clone for ReleaseOptions
Source§fn clone(&self) -> ReleaseOptions
fn clone(&self) -> ReleaseOptions
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 ReleaseOptions
impl Debug for ReleaseOptions
impl Eq for ReleaseOptions
Source§impl PartialEq for ReleaseOptions
impl PartialEq for ReleaseOptions
impl StructuralPartialEq for ReleaseOptions
Auto Trait Implementations§
impl Freeze for ReleaseOptions
impl RefUnwindSafe for ReleaseOptions
impl Send for ReleaseOptions
impl Sync for ReleaseOptions
impl Unpin for ReleaseOptions
impl UnsafeUnpin for ReleaseOptions
impl UnwindSafe for ReleaseOptions
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.