pub struct ItemMeta {
pub name: String,
pub namespace: String,
}
Expand description
used for retrieving,updating and deleting item
Fields§
§name: String
§namespace: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for ItemMeta
impl<'de> Deserialize<'de> for ItemMeta
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<ItemMeta> for InputObjectMeta
impl From<ItemMeta> for InputObjectMeta
source§impl From<ObjectMeta> for ItemMeta
impl From<ObjectMeta> for ItemMeta
source§fn from(meta: ObjectMeta) -> Self
fn from(meta: ObjectMeta) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ItemMeta
impl Send for ItemMeta
impl Sync for ItemMeta
impl Unpin for ItemMeta
impl UnwindSafe for ItemMeta
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