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.