pub struct PackRef {
pub oci_url: String,
pub version: Version,
pub digest: String,
pub signatures: Vec<Signature>,
}Expand description
Reference to a pack stored in an OCI registry.
Fields§
§oci_url: StringOCI reference pointing to the pack.
version: VersionSemantic version of the pack.
digest: StringContent digest of the pack.
signatures: Vec<Signature>Optional detached signatures.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PackRef
impl<'de> Deserialize<'de> for PackRef
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 PackRef
impl StructuralPartialEq for PackRef
Auto Trait Implementations§
impl Freeze for PackRef
impl RefUnwindSafe for PackRef
impl Send for PackRef
impl Sync for PackRef
impl Unpin for PackRef
impl UnwindSafe for PackRef
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