pub struct Metadata {
pub data: HashMap<String, String>,
}
Expand description
§on openapi.yaml
Metadata:
type: object
description: >
Set of 16 key-value pairs that can be attached to an object. This can be
useful for storing additional information about the object in a
structured
format, and querying for objects via API or the dashboard.
Keys are strings with a maximum length of 64 characters. Values are
strings
with a maximum length of 512 characters.
Fields§
§data: HashMap<String, String>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Metadata
impl<'de> Deserialize<'de> for Metadata
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
Auto Trait Implementations§
impl Freeze for Metadata
impl RefUnwindSafe for Metadata
impl Send for Metadata
impl Sync for Metadata
impl Unpin for Metadata
impl UnwindSafe for Metadata
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