pub struct ImageBuild {
pub name: String,
pub recipe: String,
pub base: String,
pub description: Option<String>,
pub timeout: Duration,
pub force: bool,
pub built_by: String,
}Expand description
What to build.
Fields§
§name: StringThe local image alias to publish.
recipe: String§base: String§description: Option<String>§timeout: Duration§force: boolBuild even when the image is up to date.
built_by: StringImplementations§
Source§impl ImageBuild
impl ImageBuild
Sourcepub fn default_recipe(built_by: &str) -> ImageBuild
pub fn default_recipe(built_by: &str) -> ImageBuild
The default recipe under its own name.
pub fn recipe_sha256(&self) -> String
Sourcepub fn description(&self) -> String
pub fn description(&self) -> String
The description the image gets: the one asked for, else one naming the recipe.
Trait Implementations§
Source§impl Clone for ImageBuild
impl Clone for ImageBuild
Auto Trait Implementations§
impl Freeze for ImageBuild
impl RefUnwindSafe for ImageBuild
impl Send for ImageBuild
impl Sync for ImageBuild
impl Unpin for ImageBuild
impl UnsafeUnpin for ImageBuild
impl UnwindSafe for ImageBuild
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