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: Stringnamespace: Stringlabels: HashMap<String, String>resource_version: Stringannotations: HashMap<String, String>owner_references: Vec<OwnerReferences>finalizers: Vec<String>Trait Implementations
sourceimpl Clone for UpdateItemMeta
impl Clone for UpdateItemMeta
sourcefn clone(&self) -> UpdateItemMeta
fn clone(&self) -> UpdateItemMeta
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for UpdateItemMeta
impl Debug for UpdateItemMeta
sourceimpl Default for UpdateItemMeta
impl Default for UpdateItemMeta
sourcefn default() -> UpdateItemMeta
fn default() -> UpdateItemMeta
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for UpdateItemMeta
impl<'de> Deserialize<'de> for UpdateItemMeta
sourcefn 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
sourceimpl From<ObjectMeta> for UpdateItemMeta
impl From<ObjectMeta> for UpdateItemMeta
sourcefn from(meta: ObjectMeta) -> Self
fn from(meta: ObjectMeta) -> Self
Converts to this type from the input type.
sourceimpl K8Meta for UpdateItemMeta
impl K8Meta for UpdateItemMeta
sourceimpl Serialize for UpdateItemMeta
impl Serialize for UpdateItemMeta
Auto Trait Implementations
impl RefUnwindSafe for UpdateItemMeta
impl Send for UpdateItemMeta
impl Sync for UpdateItemMeta
impl Unpin for UpdateItemMeta
impl UnwindSafe for UpdateItemMeta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more