pub(crate) struct ReleaseUnitState {
pub(crate) target: ReleaseTarget,
pub(crate) source: SourceDirectories,
pub(crate) changelog: Option<RepositoryPath>,
pub(crate) dependencies: Vec<String>,
pub(crate) pins: BTreeMap<String, Pin>,
pub(crate) tag_prefix: String,
pub(crate) kind: UnitKind,
pub(crate) application_bump: ApplicationBump,
pub(crate) revision_file: Option<RepositoryPath>,
}Expand description
A configured package in the release graph.
Fields§
§target: ReleaseTargetVersion source and publication ecosystem.
source: SourceDirectoriesDirectories whose changes trigger a release.
changelog: Option<RepositoryPath>Changelog path, absent for a unit without a changelog.
dependencies: Vec<String>Units that must be published first.
pins: BTreeMap<String, Pin>Files holding the versions of dependencies, keyed by dependency.
tag_prefix: StringPrefix of the unit’s release tags.
kind: UnitKindWhich version bump policy applies.
application_bump: ApplicationBumpAutomatic bump of an application.
revision_file: Option<RepositoryPath>Repository file holding the decimal packaging revision.
Trait Implementations§
Source§impl Clone for ReleaseUnitState
impl Clone for ReleaseUnitState
Source§fn clone(&self) -> ReleaseUnitState
fn clone(&self) -> ReleaseUnitState
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 ReleaseUnitState
impl Debug for ReleaseUnitState
impl Eq for ReleaseUnitState
Source§impl<'ʄ> Facet<'ʄ> for ReleaseUnitState
impl<'ʄ> Facet<'ʄ> for ReleaseUnitState
Source§impl PartialEq for ReleaseUnitState
impl PartialEq for ReleaseUnitState
impl StructuralPartialEq for ReleaseUnitState
Auto Trait Implementations§
impl Freeze for ReleaseUnitState
impl RefUnwindSafe for ReleaseUnitState
impl Send for ReleaseUnitState
impl Sync for ReleaseUnitState
impl Unpin for ReleaseUnitState
impl UnsafeUnpin for ReleaseUnitState
impl UnwindSafe for ReleaseUnitState
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.