#[non_exhaustive]pub struct SkaffoldGitSource {
pub repo: String,
pub path: String,
pub ref: String,
/* private fields */
}
Expand description
Git repository containing Skaffold Config modules.
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.repo: String
Required. Git repository the package should be cloned from.
path: String
Optional. Relative path from the repository root to the Skaffold file.
ref: String
Optional. Git branch or tag to use when cloning the repository.
Implementations§
Trait Implementations§
Source§impl Clone for SkaffoldGitSource
impl Clone for SkaffoldGitSource
Source§fn clone(&self) -> SkaffoldGitSource
fn clone(&self) -> SkaffoldGitSource
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 SkaffoldGitSource
impl Debug for SkaffoldGitSource
Source§impl Default for SkaffoldGitSource
impl Default for SkaffoldGitSource
Source§fn default() -> SkaffoldGitSource
fn default() -> SkaffoldGitSource
Returns the “default value” for a type. Read more
Source§impl Message for SkaffoldGitSource
impl Message for SkaffoldGitSource
Source§impl PartialEq for SkaffoldGitSource
impl PartialEq for SkaffoldGitSource
impl StructuralPartialEq for SkaffoldGitSource
Auto Trait Implementations§
impl Freeze for SkaffoldGitSource
impl RefUnwindSafe for SkaffoldGitSource
impl Send for SkaffoldGitSource
impl Sync for SkaffoldGitSource
impl Unpin for SkaffoldGitSource
impl UnwindSafe for SkaffoldGitSource
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