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
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>,
impl Eq for History
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
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)
clone_to_uninit
)