pub enum ImageUrlValue {}
Expand description
ImageUrlValue
JSON schema
{
"description": "A named url of an image along with metadata.",
"allOf": [
{
"$ref": "#/components/schemas/LinkedDataObject"
},
{
"type": "object",
"required": [
"@type"
],
"properties": {
"@type": {
"type": "string",
"enum": [
"ImageObject"
],
"x-tsType": "LinkedDataType.ImageObject"
},
"height": {
"description": "The height of the image in pixels.",
"examples": [
480
],
"type": "number"
},
"name": {
"description": "The name of the image.",
"examples": [
"Dogs Playing Poker"
],
"type": "string"
},
"status": {
"$ref": "#/components/schemas/ImageStatus"
},
"url": {
"description": "The url of the image.",
"examples": [
"https://example.com/dogs-playing-poker.jpg"
],
"type": "string"
},
"width": {
"description": "The width of the image in pixels.",
"examples": [
640
],
"type": "number"
}
},
"additionalProperties": false
}
],
"x-schema-name": "ImageUrlValue"
}
Trait Implementations§
Source§impl Clone for ImageUrlValue
impl Clone for ImageUrlValue
Source§fn clone(&self) -> ImageUrlValue
fn clone(&self) -> ImageUrlValue
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 ImageUrlValue
impl Debug for ImageUrlValue
Source§impl<'de> Deserialize<'de> for ImageUrlValue
impl<'de> Deserialize<'de> for ImageUrlValue
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<&ImageUrlValue> for ImageUrlValue
impl From<&ImageUrlValue> for ImageUrlValue
Source§fn from(value: &ImageUrlValue) -> Self
fn from(value: &ImageUrlValue) -> Self
Converts to this type from the input type.
Source§impl From<ImageUrlValue> for RichSingleValue
impl From<ImageUrlValue> for RichSingleValue
Source§fn from(value: ImageUrlValue) -> Self
fn from(value: ImageUrlValue) -> Self
Converts to this type from the input type.
Source§impl Hash for ImageUrlValue
impl Hash for ImageUrlValue
Source§impl Ord for ImageUrlValue
impl Ord for ImageUrlValue
Source§fn cmp(&self, other: &ImageUrlValue) -> Ordering
fn cmp(&self, other: &ImageUrlValue) -> 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 ImageUrlValue
impl PartialEq for ImageUrlValue
Source§impl PartialOrd for ImageUrlValue
impl PartialOrd for ImageUrlValue
Source§impl Serialize for ImageUrlValue
impl Serialize for ImageUrlValue
impl Copy for ImageUrlValue
impl Eq for ImageUrlValue
impl StructuralPartialEq for ImageUrlValue
Auto Trait Implementations§
impl Freeze for ImageUrlValue
impl RefUnwindSafe for ImageUrlValue
impl Send for ImageUrlValue
impl Sync for ImageUrlValue
impl Unpin for ImageUrlValue
impl UnwindSafe for ImageUrlValue
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