pub struct MetadataEntry {
pub name: Option<String>,
pub value: Option<String>,
}
Expand description
A metadata key-value pair to store with an object.
Fields§
§name: Option<String>
Name of the Object.
value: Option<String>
Value of the Object.
Trait Implementations§
Source§impl Clone for MetadataEntry
impl Clone for MetadataEntry
Source§fn clone(&self) -> MetadataEntry
fn clone(&self) -> MetadataEntry
Returns a duplicate 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 MetadataEntry
impl Debug for MetadataEntry
Source§impl Default for MetadataEntry
impl Default for MetadataEntry
Source§fn default() -> MetadataEntry
fn default() -> MetadataEntry
Returns the “default value” for a type. Read more
Source§impl PartialEq for MetadataEntry
impl PartialEq for MetadataEntry
impl StructuralPartialEq for MetadataEntry
Auto Trait Implementations§
impl Freeze for MetadataEntry
impl RefUnwindSafe for MetadataEntry
impl Send for MetadataEntry
impl Sync for MetadataEntry
impl Unpin for MetadataEntry
impl UnwindSafe for MetadataEntry
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