Struct kube_core::params::PostParams
source · pub struct PostParams {
pub dry_run: bool,
pub field_manager: Option<String>,
}
Expand description
Common query parameters for put/post calls
Fields§
§dry_run: bool
Whether to run this as a dry run
field_manager: Option<String>
fieldManager is a name of the actor that is making changes
Trait Implementations§
source§impl Clone for PostParams
impl Clone for PostParams
source§fn clone(&self) -> PostParams
fn clone(&self) -> PostParams
Returns a copy 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 PostParams
impl Debug for PostParams
source§impl Default for PostParams
impl Default for PostParams
source§fn default() -> PostParams
fn default() -> PostParams
Returns the “default value” for a type. Read more
source§impl PartialEq for PostParams
impl PartialEq for PostParams
source§fn eq(&self, other: &PostParams) -> bool
fn eq(&self, other: &PostParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PostParams
Auto Trait Implementations§
impl RefUnwindSafe for PostParams
impl Send for PostParams
impl Sync for PostParams
impl Unpin for PostParams
impl UnwindSafe for PostParams
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