Struct oci_spec::image::HistoryBuilder
source · pub struct HistoryBuilder { /* private fields */ }
Expand description
Builder for History
.
Implementations§
source§impl HistoryBuilder
impl HistoryBuilder
sourcepub fn created<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn created<VALUE: Into<String>>(self, value: VALUE) -> 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 created_by<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn created_by<VALUE: Into<String>>(self, value: VALUE) -> Self
The command which created the layer.
sourcepub fn comment<VALUE: Into<String>>(self, value: VALUE) -> Self
pub fn comment<VALUE: Into<String>>(self, value: VALUE) -> Self
A custom message set when creating the layer.
sourcepub fn empty_layer<VALUE: Into<bool>>(self, value: VALUE) -> Self
pub fn empty_layer<VALUE: Into<bool>>(self, value: VALUE) -> 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§
Auto Trait Implementations§
impl Freeze for HistoryBuilder
impl RefUnwindSafe for HistoryBuilder
impl Send for HistoryBuilder
impl Sync for HistoryBuilder
impl Unpin for HistoryBuilder
impl UnwindSafe for HistoryBuilder
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