pub struct ObjectMeta {Show 16 fields
pub cluster_name: Option<String>,
pub name: Option<String>,
pub namespace: Option<String>,
pub creation_timestamp: Option<Time>,
pub deletion_grace_period_seconds: Option<Integer>,
pub deletion_timestamp: Option<Time>,
pub finalizers: Vec<String>,
pub generate_name: Option<String>,
pub generation: Option<Integer>,
pub initializers: Option<Initializers>,
pub annotations: HashMap<String, String>,
pub labels: HashMap<String, String>,
pub owner_references: Vec<OwnerReference>,
pub resource_version: Option<String>,
pub self_link: Option<String>,
pub uid: Option<String>,
}
Fields§
§cluster_name: Option<String>
§name: Option<String>
§namespace: Option<String>
§creation_timestamp: Option<Time>
§deletion_grace_period_seconds: Option<Integer>
§deletion_timestamp: Option<Time>
§finalizers: Vec<String>
§generate_name: Option<String>
§generation: Option<Integer>
§initializers: Option<Initializers>
§annotations: HashMap<String, String>
§labels: HashMap<String, String>
§owner_references: Vec<OwnerReference>
§resource_version: Option<String>
§self_link: Option<String>
§uid: Option<String>
Trait Implementations§
Source§impl Clone for ObjectMeta
impl Clone for ObjectMeta
Source§fn clone(&self) -> ObjectMeta
fn clone(&self) -> ObjectMeta
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 ObjectMeta
impl Debug for ObjectMeta
Source§impl Default for ObjectMeta
impl Default for ObjectMeta
Source§fn default() -> ObjectMeta
fn default() -> ObjectMeta
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ObjectMeta
impl<'de> Deserialize<'de> for ObjectMeta
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 ObjectMeta
impl PartialEq for ObjectMeta
Source§impl Serialize for ObjectMeta
impl Serialize for ObjectMeta
impl StructuralPartialEq for ObjectMeta
Auto Trait Implementations§
impl Freeze for ObjectMeta
impl RefUnwindSafe for ObjectMeta
impl Send for ObjectMeta
impl Sync for ObjectMeta
impl Unpin for ObjectMeta
impl UnwindSafe for ObjectMeta
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more