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>,
source§impl PartialEq for History
impl PartialEq for History
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)