pub enum PersonValue {}
Expand description
PersonValue
JSON schema
{
"description": "A named reference to a person, where the person is
identified by email address.",
"allOf": [
{
"$ref": "#/components/schemas/LinkedDataObject"
},
{
"type": "object",
"required": [
"@type",
"name"
],
"properties": {
"@type": {
"type": "string",
"enum": [
"Person"
],
"x-tsType": "LinkedDataType.Person"
},
"email": {
"description": "The email address of the person.",
"examples": [
"alice@atkins.com"
],
"type": "string"
},
"name": {
"description": "The full name of the person.",
"examples": [
"Alice Atkins"
],
"type": "string"
}
},
"additionalProperties": false
}
],
"x-schema-name": "PersonValue"
}
Trait Implementations§
Source§impl Clone for PersonValue
impl Clone for PersonValue
Source§fn clone(&self) -> PersonValue
fn clone(&self) -> PersonValue
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 PersonValue
impl Debug for PersonValue
Source§impl<'de> Deserialize<'de> for PersonValue
impl<'de> Deserialize<'de> for PersonValue
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<&PersonValue> for PersonValue
impl From<&PersonValue> for PersonValue
Source§fn from(value: &PersonValue) -> Self
fn from(value: &PersonValue) -> Self
Converts to this type from the input type.
Source§impl From<PersonValue> for RichSingleValue
impl From<PersonValue> for RichSingleValue
Source§fn from(value: PersonValue) -> Self
fn from(value: PersonValue) -> Self
Converts to this type from the input type.
Source§impl Hash for PersonValue
impl Hash for PersonValue
Source§impl Ord for PersonValue
impl Ord for PersonValue
Source§fn cmp(&self, other: &PersonValue) -> Ordering
fn cmp(&self, other: &PersonValue) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PersonValue
impl PartialEq for PersonValue
Source§impl PartialOrd for PersonValue
impl PartialOrd for PersonValue
Source§impl Serialize for PersonValue
impl Serialize for PersonValue
impl Copy for PersonValue
impl Eq for PersonValue
impl StructuralPartialEq for PersonValue
Auto Trait Implementations§
impl Freeze for PersonValue
impl RefUnwindSafe for PersonValue
impl Send for PersonValue
impl Sync for PersonValue
impl Unpin for PersonValue
impl UnwindSafe for PersonValue
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