pub struct QuarantineOutput {
pub invariant: String,
pub reason: String,
pub source_ref: Option<String>,
}Expand description
Per-source quarantine output as required by ADR 0042 §7.
Fields§
§invariant: StringStable invariant name explaining why this output is quarantined.
reason: StringOperator-facing reason.
source_ref: Option<String>Optional reference back to the source artifact.
Implementations§
Trait Implementations§
Source§impl Clone for QuarantineOutput
impl Clone for QuarantineOutput
Source§fn clone(&self) -> QuarantineOutput
fn clone(&self) -> QuarantineOutput
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 QuarantineOutput
impl Debug for QuarantineOutput
Source§impl<'de> Deserialize<'de> for QuarantineOutput
impl<'de> Deserialize<'de> for QuarantineOutput
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
Source§impl PartialEq for QuarantineOutput
impl PartialEq for QuarantineOutput
Source§fn eq(&self, other: &QuarantineOutput) -> bool
fn eq(&self, other: &QuarantineOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for QuarantineOutput
impl Serialize for QuarantineOutput
impl Eq for QuarantineOutput
impl StructuralPartialEq for QuarantineOutput
Auto Trait Implementations§
impl Freeze for QuarantineOutput
impl RefUnwindSafe for QuarantineOutput
impl Send for QuarantineOutput
impl Sync for QuarantineOutput
impl Unpin for QuarantineOutput
impl UnsafeUnpin for QuarantineOutput
impl UnwindSafe for QuarantineOutput
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