pub struct ImageEntry {
pub name: String,
pub manifest_digest: String,
pub is_container: bool,
pub architecture: String,
pub os: String,
pub created: Option<String>,
pub layer_count: u64,
pub referrer_count: u64,
}Expand description
Summary of a stored OCI image for the varlink wire format.
Fields§
§name: StringTag/name of the image.
manifest_digest: StringManifest digest, e.g. “sha256:…”.
is_container: boolWhether this is a container image (vs an artifact).
architecture: StringArchitecture (empty for artifacts).
os: StringOperating system (empty for artifacts).
created: Option<String>Creation timestamp, if recorded.
layer_count: u64Number of layers/blobs.
referrer_count: u64Number of OCI referrers (signatures, attestations, etc.).
Trait Implementations§
Source§impl Clone for ImageEntry
impl Clone for ImageEntry
Source§fn clone(&self) -> ImageEntry
fn clone(&self) -> ImageEntry
Returns a duplicate of the value. Read more
1.0.0 · 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 ImageEntry
impl Debug for ImageEntry
Source§impl<'de> Deserialize<'de> for ImageEntry
impl<'de> Deserialize<'de> for ImageEntry
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 From<&ImageInfo> for ImageEntry
impl From<&ImageInfo> for ImageEntry
Source§impl Serialize for ImageEntry
impl Serialize for ImageEntry
Auto Trait Implementations§
impl Freeze for ImageEntry
impl RefUnwindSafe for ImageEntry
impl Send for ImageEntry
impl Sync for ImageEntry
impl Unpin for ImageEntry
impl UnsafeUnpin for ImageEntry
impl UnwindSafe for ImageEntry
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
§impl<S> CanonJsonSerialize for Swhere
S: Serialize,
impl<S> CanonJsonSerialize for Swhere
S: Serialize,
§fn to_canon_json_writer<W>(&self, writer: W) -> Result<(), Error>where
W: Write,
fn to_canon_json_writer<W>(&self, writer: W) -> Result<(), Error>where
W: Write,
Serialize the given data structure as JSON into the I/O stream.
§fn to_canon_json_vec(&self) -> Result<Vec<u8>, Error>
fn to_canon_json_vec(&self) -> Result<Vec<u8>, Error>
Serialize the given data structure as a JSON byte vector.
§fn to_canon_json_string(&self) -> Result<String, Error>
fn to_canon_json_string(&self) -> Result<String, Error>
Serialize the given data structure as a String.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more