pub enum Verdict {
Pass,
PassHinted,
RejectedNeedsApproval,
RejectedPermanently,
RejectedTemporarily,
RejectedCannotDetermineIfPermanent,
RejectedBlockedByAnotherItem,
RejectedWaitingForAnotherItem,
}
Expand description
A policy’s verdict
Variants§
Pass
Policy passed
PassHinted
Policy passed due to a hint
RejectedNeedsApproval
Rejected due to a block hint or because the upload requires explicit approval (e.g., uploads to proposed-updates or testing-proposed-updates)
RejectedPermanently
Rejected tu to a permanent issue
RejectedTemporarily
Rejected due to a transient issue
RejectedCannotDetermineIfPermanent
Rejected, but not able to determine if the issue is transient
RejectedBlockedByAnotherItem
Reject due to another blocking item.
RejectedWaitingForAnotherItem
Reject due to another blocking item.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Verdict
impl<'de> Deserialize<'de> for Verdict
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 Copy for Verdict
impl Eq for Verdict
impl StructuralPartialEq for Verdict
Auto Trait Implementations§
impl Freeze for Verdict
impl RefUnwindSafe for Verdict
impl Send for Verdict
impl Sync for Verdict
impl Unpin for Verdict
impl UnwindSafe for Verdict
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,
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.