pub enum UrlValue {}
Expand description
UrlValue
JSON schema
{
"description": "A named hyperlink to an arbitrary url.",
"allOf": [
{
"$ref": "#/components/schemas/LinkedDataObject"
},
{
"type": "object",
"required": [
"@type",
"url"
],
"properties": {
"@type": {
"type": "string",
"enum": [
"WebPage"
],
"x-tsType": "LinkedDataType.WebPage"
},
"name": {
"description": "The user-visible text of the hyperlink.",
"examples": [
"Click me"
],
"type": "string"
},
"url": {
"description": "The url of the hyperlink.",
"examples": [
"https://coda.io"
],
"type": "string"
}
},
"additionalProperties": false
}
],
"x-schema-name": "UrlValue"
}
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UrlValue
impl<'de> Deserialize<'de> for UrlValue
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<UrlValue> for RichSingleValue
impl From<UrlValue> for RichSingleValue
Source§impl Ord for UrlValue
impl Ord for UrlValue
Source§impl PartialOrd for UrlValue
impl PartialOrd for UrlValue
impl Copy for UrlValue
impl Eq for UrlValue
impl StructuralPartialEq for UrlValue
Auto Trait Implementations§
impl Freeze for UrlValue
impl RefUnwindSafe for UrlValue
impl Send for UrlValue
impl Sync for UrlValue
impl Unpin for UrlValue
impl UnwindSafe for UrlValue
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