pub(crate) enum UnitStatus<'t> {
Unversioned,
Pending,
Released {
latest: &'t str,
tagged: bool,
},
}Expand description
Where a unit stands between its file version and its tags.
Variants§
Unversioned
No tag and the file version is 0.0.0. The proposal derives the first version from the commits.
Pending
The file version is newer than every tag. Publication releases it.
Released
A tag covers the file version.
Trait Implementations§
Source§impl<'t> Clone for UnitStatus<'t>
impl<'t> Clone for UnitStatus<'t>
Source§fn clone(&self) -> UnitStatus<'t>
fn clone(&self) -> UnitStatus<'t>
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 moreimpl<'t> Copy for UnitStatus<'t>
Source§impl<'t> Debug for UnitStatus<'t>
impl<'t> Debug for UnitStatus<'t>
impl<'t> Eq for UnitStatus<'t>
Source§impl<'t> PartialEq for UnitStatus<'t>
impl<'t> PartialEq for UnitStatus<'t>
impl<'t> StructuralPartialEq for UnitStatus<'t>
Auto Trait Implementations§
impl<'t> Freeze for UnitStatus<'t>
impl<'t> RefUnwindSafe for UnitStatus<'t>
impl<'t> Send for UnitStatus<'t>
impl<'t> Sync for UnitStatus<'t>
impl<'t> Unpin for UnitStatus<'t>
impl<'t> UnsafeUnpin for UnitStatus<'t>
impl<'t> UnwindSafe for UnitStatus<'t>
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.