pub enum ReleaseReason {
Changeset {
changeset: ChangesetId,
},
DependencyPropagation {
dependency: PackageId,
next_version: Version,
},
SharedVersionPropagation {
source: VersionSourceId,
},
}Expand description
Why a package is included in a release.
Variants§
Trait Implementations§
Source§impl Clone for ReleaseReason
impl Clone for ReleaseReason
Source§fn clone(&self) -> ReleaseReason
fn clone(&self) -> ReleaseReason
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 ReleaseReason
impl Debug for ReleaseReason
impl Eq for ReleaseReason
Source§impl From<&ReleaseReason> for ReleaseReasonContext
impl From<&ReleaseReason> for ReleaseReasonContext
Source§fn from(reason: &ReleaseReason) -> Self
fn from(reason: &ReleaseReason) -> Self
Converts to this type from the input type.
Source§impl Ord for ReleaseReason
impl Ord for ReleaseReason
Source§fn cmp(&self, other: &ReleaseReason) -> Ordering
fn cmp(&self, other: &ReleaseReason) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ReleaseReason
impl PartialEq for ReleaseReason
Source§impl PartialOrd for ReleaseReason
impl PartialOrd for ReleaseReason
Source§impl Serialize for ReleaseReason
impl Serialize for ReleaseReason
impl StructuralPartialEq for ReleaseReason
Auto Trait Implementations§
impl Freeze for ReleaseReason
impl RefUnwindSafe for ReleaseReason
impl Send for ReleaseReason
impl Sync for ReleaseReason
impl Unpin for ReleaseReason
impl UnsafeUnpin for ReleaseReason
impl UnwindSafe for ReleaseReason
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