#[non_exhaustive]pub struct BuildArtifact {
pub image: String,
pub tag: String,
/* private fields */
}
Expand description
Description of an a image to use during Skaffold rendering.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.image: String
Optional. Image name in Skaffold configuration.
tag: String
Optional. Image tag to use. This will generally be the full path to an image, such as “gcr.io/my-project/busybox:1.2.3” or “gcr.io/my-project/busybox@sha256:abc123”.
Implementations§
Trait Implementations§
Source§impl Clone for BuildArtifact
impl Clone for BuildArtifact
Source§fn clone(&self) -> BuildArtifact
fn clone(&self) -> BuildArtifact
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BuildArtifact
impl Debug for BuildArtifact
Source§impl Default for BuildArtifact
impl Default for BuildArtifact
Source§fn default() -> BuildArtifact
fn default() -> BuildArtifact
Returns the “default value” for a type. Read more
Source§impl Message for BuildArtifact
impl Message for BuildArtifact
Source§impl PartialEq for BuildArtifact
impl PartialEq for BuildArtifact
impl StructuralPartialEq for BuildArtifact
Auto Trait Implementations§
impl Freeze for BuildArtifact
impl RefUnwindSafe for BuildArtifact
impl Send for BuildArtifact
impl Sync for BuildArtifact
impl Unpin for BuildArtifact
impl UnwindSafe for BuildArtifact
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