Struct k8_types::InputObjectMeta
source · [−]pub struct InputObjectMeta {
pub name: String,
pub labels: HashMap<String, String>,
pub namespace: String,
pub owner_references: Vec<OwnerReferences>,
pub finalizers: Vec<String>,
pub annotations: HashMap<String, String>,
}Fields
name: Stringlabels: HashMap<String, String>namespace: Stringowner_references: Vec<OwnerReferences>finalizers: Vec<String>annotations: HashMap<String, String>Implementations
Trait Implementations
sourceimpl Clone for InputObjectMeta
impl Clone for InputObjectMeta
sourcefn clone(&self) -> InputObjectMeta
fn clone(&self) -> InputObjectMeta
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 InputObjectMeta
impl Debug for InputObjectMeta
sourceimpl Default for InputObjectMeta
impl Default for InputObjectMeta
sourcefn default() -> InputObjectMeta
fn default() -> InputObjectMeta
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for InputObjectMeta
impl<'de> Deserialize<'de> for InputObjectMeta
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 Display for InputObjectMeta
impl Display for InputObjectMeta
sourceimpl From<ItemMeta> for InputObjectMeta
impl From<ItemMeta> for InputObjectMeta
sourceimpl From<ObjectMeta> for InputObjectMeta
impl From<ObjectMeta> for InputObjectMeta
sourcefn from(meta: ObjectMeta) -> Self
fn from(meta: ObjectMeta) -> Self
Converts to this type from the input type.
sourceimpl K8Meta for InputObjectMeta
impl K8Meta for InputObjectMeta
sourceimpl LabelProvider for InputObjectMeta
impl LabelProvider for InputObjectMeta
fn set_label_map(self, labels: HashMap<String, String>) -> Self
sourcefn set_labels<T: ToString>(self, labels: Vec<(T, T)>) -> Self
fn set_labels<T: ToString>(self, labels: Vec<(T, T)>) -> Self
helper for setting list of labels
sourceimpl Serialize for InputObjectMeta
impl Serialize for InputObjectMeta
Auto Trait Implementations
impl RefUnwindSafe for InputObjectMeta
impl Send for InputObjectMeta
impl Sync for InputObjectMeta
impl Unpin for InputObjectMeta
impl UnwindSafe for InputObjectMeta
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