pub struct ImageHistoryEntryDto {
pub id: String,
pub created: i64,
pub created_by: String,
pub tags: Vec<String>,
pub size: u64,
pub comment: String,
}Expand description
One row of an image’s history. Mirror of
zlayer_agent::runtime::ImageHistoryEntry. Lives here so SDK clients
can deserialize without depending on the server-side agent crate.
Fields§
§id: StringLayer / image id (sha256:...). May be <missing> for layers that
were dropped during a squash.
created: i64Unix-seconds timestamp when this layer was created.
created_by: StringDockerfile-style instruction that produced this layer.
Tags that point at this specific layer.
size: u64Layer size in bytes.
comment: StringOptional comment recorded with the layer.
Trait Implementations§
Source§impl Clone for ImageHistoryEntryDto
impl Clone for ImageHistoryEntryDto
Source§fn clone(&self) -> ImageHistoryEntryDto
fn clone(&self) -> ImageHistoryEntryDto
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 ComposeSchema for ImageHistoryEntryDto
impl ComposeSchema for ImageHistoryEntryDto
Source§impl Debug for ImageHistoryEntryDto
impl Debug for ImageHistoryEntryDto
Source§impl Default for ImageHistoryEntryDto
impl Default for ImageHistoryEntryDto
Source§fn default() -> ImageHistoryEntryDto
fn default() -> ImageHistoryEntryDto
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ImageHistoryEntryDto
impl<'de> Deserialize<'de> for ImageHistoryEntryDto
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 Serialize for ImageHistoryEntryDto
impl Serialize for ImageHistoryEntryDto
Auto Trait Implementations§
impl Freeze for ImageHistoryEntryDto
impl RefUnwindSafe for ImageHistoryEntryDto
impl Send for ImageHistoryEntryDto
impl Sync for ImageHistoryEntryDto
impl Unpin for ImageHistoryEntryDto
impl UnsafeUnpin for ImageHistoryEntryDto
impl UnwindSafe for ImageHistoryEntryDto
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