pub struct DefaultLabels;
Expand description
A specifier of the default labels to be used for the keys and values.
This struct implements KeyValueLabels
setting key labels to “key” and value labels to
“value”.
Trait Implementations§
Source§impl KeyValueJsonSchema for DefaultLabels
Available on crate feature json-schema
only.
impl KeyValueJsonSchema for DefaultLabels
Available on crate feature
json-schema
only.Source§const JSON_SCHEMA_KV_NAME: Option<&'static str> = None
const JSON_SCHEMA_KV_NAME: Option<&'static str> = None
The value to use for
Schemars::schema_name()
of the KeyValue struct. Read moreSource§const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = None
const JSON_SCHEMA_KV_DESCRIPTION: Option<&'static str> = None
The description applied to the KeyValue struct.
Source§const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = None
const JSON_SCHEMA_KEY_DESCRIPTION: Option<&'static str> = None
The description applied to the key of the KeyValue struct.
Source§const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = None
const JSON_SCHEMA_VALUE_DESCRIPTION: Option<&'static str> = None
The description applied to the value of the KeyValue struct.
Auto Trait Implementations§
impl Freeze for DefaultLabels
impl RefUnwindSafe for DefaultLabels
impl Send for DefaultLabels
impl Sync for DefaultLabels
impl Unpin for DefaultLabels
impl UnwindSafe for DefaultLabels
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