pub struct DeleteRequest {
pub group: String,
pub kind: String,
pub name: String,
pub namespace: Option<String>,
pub version: String,
}
Fields§
§group: String
The group of the object you are deleting (e.g. “networking.k8s.io”). This will be an empty
string if part of core
kind: String
The kind of the object you are deleting (e.g. Pod)
name: String
The name of the object you are deleting
namespace: Option<String>
The namespace where the object you want to delete is located. If not specified, the default namespace for the context should be used
version: String
The API version of the object you are deleting (e.g. v1)
Trait Implementations§
Source§impl Clone for DeleteRequest
impl Clone for DeleteRequest
Source§fn clone(&self) -> DeleteRequest
fn clone(&self) -> DeleteRequest
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 DeleteRequest
impl Debug for DeleteRequest
Source§impl Default for DeleteRequest
impl Default for DeleteRequest
Source§fn default() -> DeleteRequest
fn default() -> DeleteRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeleteRequest
impl<'de> Deserialize<'de> for DeleteRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DeleteRequest
impl PartialEq for DeleteRequest
Source§impl Serialize for DeleteRequest
impl Serialize for DeleteRequest
impl Eq for DeleteRequest
impl StructuralPartialEq for DeleteRequest
Auto Trait Implementations§
impl Freeze for DeleteRequest
impl RefUnwindSafe for DeleteRequest
impl Send for DeleteRequest
impl Sync for DeleteRequest
impl Unpin for DeleteRequest
impl UnwindSafe for DeleteRequest
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