#[non_exhaustive]pub struct Postdeploy {
pub actions: Vec<String>,
/* private fields */
}
Expand description
Postdeploy contains the postdeploy job configuration information.
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.actions: Vec<String>
Optional. A sequence of Skaffold custom actions to invoke during execution of the postdeploy job.
Implementations§
Source§impl Postdeploy
impl Postdeploy
pub fn new() -> Self
Sourcepub fn set_actions<T, V>(self, v: T) -> Self
pub fn set_actions<T, V>(self, v: T) -> Self
Sets the value of actions.
Trait Implementations§
Source§impl Clone for Postdeploy
impl Clone for Postdeploy
Source§fn clone(&self) -> Postdeploy
fn clone(&self) -> Postdeploy
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 Postdeploy
impl Debug for Postdeploy
Source§impl Default for Postdeploy
impl Default for Postdeploy
Source§fn default() -> Postdeploy
fn default() -> Postdeploy
Returns the “default value” for a type. Read more
Source§impl PartialEq for Postdeploy
impl PartialEq for Postdeploy
impl StructuralPartialEq for Postdeploy
Auto Trait Implementations§
impl Freeze for Postdeploy
impl RefUnwindSafe for Postdeploy
impl Send for Postdeploy
impl Sync for Postdeploy
impl Unpin for Postdeploy
impl UnwindSafe for Postdeploy
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