pub enum PromoteStatus {
Promoted,
DryRun,
Skipped(PromoteSkipReason),
Failed(String),
}Expand description
Terminal state of a single publisher’s promotion, parallel to
crate::publish_report::PublisherOutcome.
Variants§
Promoted
The artifact was moved from from to to.
DryRun
--dry-run: the plan was printed; nothing was moved.
Skipped(PromoteSkipReason)
The promotion did not run; see PromoteSkipReason.
Failed(String)
The promotion was attempted and failed; the String is the rendered
error ({:#}).
Trait Implementations§
Source§impl Clone for PromoteStatus
impl Clone for PromoteStatus
Source§fn clone(&self) -> PromoteStatus
fn clone(&self) -> PromoteStatus
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 PromoteStatus
impl Debug for PromoteStatus
Source§impl<'de> Deserialize<'de> for PromoteStatus
impl<'de> Deserialize<'de> for PromoteStatus
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
impl Eq for PromoteStatus
Source§impl PartialEq for PromoteStatus
impl PartialEq for PromoteStatus
Source§impl Serialize for PromoteStatus
impl Serialize for PromoteStatus
impl StructuralPartialEq for PromoteStatus
Auto Trait Implementations§
impl Freeze for PromoteStatus
impl RefUnwindSafe for PromoteStatus
impl Send for PromoteStatus
impl Sync for PromoteStatus
impl Unpin for PromoteStatus
impl UnsafeUnpin for PromoteStatus
impl UnwindSafe for PromoteStatus
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.