pub struct PromoteReport {
pub results: Vec<PromoteOutcome>,
}Expand description
Aggregate result of a promotion run, parallel to
crate::publish_report::PublishReport.
Fields§
§results: Vec<PromoteOutcome>One entry per dispatched publisher, in dispatch order.
Implementations§
Source§impl PromoteReport
impl PromoteReport
Sourcepub fn any_failure(&self) -> bool
pub fn any_failure(&self) -> bool
Whether any dispatched publisher’s promotion failed.
Sourcepub fn failure_names(&self) -> Vec<&str>
pub fn failure_names(&self) -> Vec<&str>
Names of the publishers whose promotion failed.
Trait Implementations§
Source§impl Clone for PromoteReport
impl Clone for PromoteReport
Source§fn clone(&self) -> PromoteReport
fn clone(&self) -> PromoteReport
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 PromoteReport
impl Debug for PromoteReport
Source§impl Default for PromoteReport
impl Default for PromoteReport
Source§fn default() -> PromoteReport
fn default() -> PromoteReport
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PromoteReport
impl<'de> Deserialize<'de> for PromoteReport
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 PromoteReport
Source§impl PartialEq for PromoteReport
impl PartialEq for PromoteReport
Source§impl Serialize for PromoteReport
impl Serialize for PromoteReport
impl StructuralPartialEq for PromoteReport
Auto Trait Implementations§
impl Freeze for PromoteReport
impl RefUnwindSafe for PromoteReport
impl Send for PromoteReport
impl Sync for PromoteReport
impl Unpin for PromoteReport
impl UnsafeUnpin for PromoteReport
impl UnwindSafe for PromoteReport
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.