pub struct Icon {
pub browser_link: String,
pub name: String,
pub type_: String,
}
Expand description
Info about the icon.
JSON schema
{
"description": "Info about the icon.",
"type": "object",
"required": [
"browserLink",
"name",
"type"
],
"properties": {
"browserLink": {
"description": "Browser-friendly link to an icon.",
"examples": [
"https://cdn.coda.io/icons/png/color/icon-32.png"
],
"type": "string",
"format": "url"
},
"name": {
"description": "Name of the icon.",
"type": "string"
},
"type": {
"description": "MIME type of the icon",
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "icon"
}
Fields§
§browser_link: String
Browser-friendly link to an icon.
name: String
Name of the icon.
type_: String
MIME type of the icon
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Icon
impl<'de> Deserialize<'de> for Icon
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
Auto Trait Implementations§
impl Freeze for Icon
impl RefUnwindSafe for Icon
impl Send for Icon
impl Sync for Icon
impl Unpin for Icon
impl UnwindSafe for Icon
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