Struct oci_client::config::History
source · pub struct History {
pub created: Option<DateTime<Utc>>,
pub author: Option<String>,
pub created_by: Option<String>,
pub comment: Option<String>,
pub empty_layer: Option<bool>,
}
Expand description
Describes the history of each layer. The array is ordered from first to last.
Fields§
§created: Option<DateTime<Utc>>
A combined date and time at which the layer was created, formatted as defined by RFC 3339, section 5.6.
The author of the build point.
created_by: Option<String>
The command which created the layer.
comment: Option<String>
A custom message set when creating the layer.
empty_layer: Option<bool>
This field is used to mark if the history item created a
filesystem diff. It is set to true if this history item
doesn’t correspond to an actual layer in the rootfs section
(for example, Dockerfile’s ENV
command results in no
change to the filesystem).
Trait Implementations§
source§impl<'de> Deserialize<'de> for History
impl<'de> Deserialize<'de> for History
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 StructuralPartialEq for History
Auto Trait Implementations§
impl Freeze for History
impl RefUnwindSafe for History
impl Send for History
impl Sync for History
impl Unpin for History
impl UnwindSafe for History
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)