Struct kube::api::PatchParams [−][src]
pub struct PatchParams {
pub dry_run: bool,
pub patch_strategy: PatchStrategy,
pub force: bool,
pub field_manager: Option<String>,
}Expand description
Common query parameters for patch calls
Fields
dry_run: boolpatch_strategy: PatchStrategyStrategy which will be used. Defaults to PatchStrategy::Strategic
force: boolforce Apply requests. Applicable only to PatchStrategy::Apply
field_manager: Option<String>fieldManager is a name of the actor that is making changes. Required for PatchStrategy::Apply
optional for everything else
Trait Implementations
impl Clone for PatchParams[src]
impl Clone for PatchParams[src]fn clone(&self) -> PatchParams[src]
fn clone(&self) -> PatchParams[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
impl Default for PatchParams[src]
impl Default for PatchParams[src]fn default() -> PatchParams[src]
fn default() -> PatchParams[src]Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for PatchParams
impl Send for PatchParams
impl Sync for PatchParams
impl Unpin for PatchParams
impl UnwindSafe for PatchParams
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more