Struct k8_types::UpdateItemMeta
source · pub struct UpdateItemMeta {
pub name: String,
pub namespace: String,
pub labels: HashMap<String, String>,
pub resource_version: String,
pub annotations: HashMap<String, String>,
pub owner_references: Vec<OwnerReferences>,
pub finalizers: Vec<String>,
}
Expand description
used for updating item
Fields§
§name: String
§namespace: String
§labels: HashMap<String, String>
§resource_version: String
§annotations: HashMap<String, String>
§owner_references: Vec<OwnerReferences>
§finalizers: Vec<String>
Trait Implementations§
source§impl Clone for UpdateItemMeta
impl Clone for UpdateItemMeta
source§fn clone(&self) -> UpdateItemMeta
fn clone(&self) -> UpdateItemMeta
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 UpdateItemMeta
impl Debug for UpdateItemMeta
source§impl Default for UpdateItemMeta
impl Default for UpdateItemMeta
source§fn default() -> UpdateItemMeta
fn default() -> UpdateItemMeta
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateItemMeta
impl<'de> Deserialize<'de> for UpdateItemMeta
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 From<ObjectMeta> for UpdateItemMeta
impl From<ObjectMeta> for UpdateItemMeta
source§fn from(meta: ObjectMeta) -> Self
fn from(meta: ObjectMeta) -> Self
Converts to this type from the input type.
source§impl K8Meta for UpdateItemMeta
impl K8Meta for UpdateItemMeta
Auto Trait Implementations§
impl Freeze for UpdateItemMeta
impl RefUnwindSafe for UpdateItemMeta
impl Send for UpdateItemMeta
impl Sync for UpdateItemMeta
impl Unpin for UpdateItemMeta
impl UnwindSafe for UpdateItemMeta
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)