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