pub struct EntityLabelValue {
pub description: String,
pub value: String,
}Expand description
A valid value for a value or multi-values entity label.
JSON schema
{
"title": "EntityLabelValue",
"description": "A valid value for a value or multi-values entity label.",
"type": "object",
"required": [
"value"
],
"properties": {
"description": {
"title": "Description",
"default": "",
"type": "string"
},
"value": {
"title": "Value",
"type": "string"
}
}
}Fields§
§description: String§value: StringTrait Implementations§
Source§impl Clone for EntityLabelValue
impl Clone for EntityLabelValue
Source§fn clone(&self) -> EntityLabelValue
fn clone(&self) -> EntityLabelValue
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 EntityLabelValue
impl Debug for EntityLabelValue
Source§impl<'de> Deserialize<'de> for EntityLabelValue
impl<'de> Deserialize<'de> for EntityLabelValue
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<&EntityLabelValue> for EntityLabelValue
impl From<&EntityLabelValue> for EntityLabelValue
Source§fn from(value: &EntityLabelValue) -> Self
fn from(value: &EntityLabelValue) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EntityLabelValue
impl RefUnwindSafe for EntityLabelValue
impl Send for EntityLabelValue
impl Sync for EntityLabelValue
impl Unpin for EntityLabelValue
impl UnsafeUnpin for EntityLabelValue
impl UnwindSafe for EntityLabelValue
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