pub struct History { /* private fields */ }
Expand description
Describes the history of a layer.
Implementations§
Source§impl History
impl History
Sourcepub fn empty_layer(&self) -> Option<bool>
pub fn empty_layer(&self) -> 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
Source§impl History
impl History
Sourcepub fn created(&self) -> &Option<String>
pub fn created(&self) -> &Option<String>
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.
Sourcepub fn created_by(&self) -> &Option<String>
pub fn created_by(&self) -> &Option<String>
The command which created the layer.
Source§impl History
impl History
Sourcepub fn set_created(&mut self, val: Option<String>) -> &mut Self
pub fn set_created(&mut self, val: Option<String>) -> &mut Self
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.
Sourcepub fn set_created_by(&mut self, val: Option<String>) -> &mut Self
pub fn set_created_by(&mut self, val: Option<String>) -> &mut Self
The command which created the layer.
Sourcepub fn set_comment(&mut self, val: Option<String>) -> &mut Self
pub fn set_comment(&mut self, val: Option<String>) -> &mut Self
A custom message set when creating the layer.
Sourcepub fn set_empty_layer(&mut self, val: Option<bool>) -> &mut Self
pub fn set_empty_layer(&mut self, val: Option<bool>) -> &mut Self
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