pub struct QuarantineKey {
pub application_id: String,
pub channel: String,
pub application_version: String,
pub build_id: String,
pub sha256: String,
}Expand description
Complete release identity used as the quarantine key.
Fields§
§application_id: StringApplication identity.
channel: StringRelease channel.
application_version: StringSemantic application version.
build_id: StringImmutable build identity.
sha256: StringArtifact digest.
Implementations§
Source§impl QuarantineKey
impl QuarantineKey
Sourcepub fn from_descriptor(descriptor: &ArtifactDescriptor) -> Self
pub fn from_descriptor(descriptor: &ArtifactDescriptor) -> Self
Creates a key from a validated artifact descriptor.
Trait Implementations§
Source§impl Clone for QuarantineKey
impl Clone for QuarantineKey
Source§impl Debug for QuarantineKey
impl Debug for QuarantineKey
Source§impl<'de> Deserialize<'de> for QuarantineKey
impl<'de> Deserialize<'de> for QuarantineKey
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 QuarantineKey
Source§impl Ord for QuarantineKey
impl Ord for QuarantineKey
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for QuarantineKey
impl PartialEq for QuarantineKey
Source§impl PartialOrd for QuarantineKey
impl PartialOrd for QuarantineKey
Source§impl Serialize for QuarantineKey
impl Serialize for QuarantineKey
impl StructuralPartialEq for QuarantineKey
Auto Trait Implementations§
impl Freeze for QuarantineKey
impl RefUnwindSafe for QuarantineKey
impl Send for QuarantineKey
impl Sync for QuarantineKey
impl Unpin for QuarantineKey
impl UnsafeUnpin for QuarantineKey
impl UnwindSafe for QuarantineKey
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