pub struct DocUpdate {
pub icon_name: Option<String>,
pub title: Option<String>,
}
Expand description
Payload for updating a doc.
JSON schema
{
"description": "Payload for updating a doc.",
"type": "object",
"properties": {
"iconName": {
"description": "Name of the icon.",
"examples": [
"rocket"
],
"type": "string"
},
"title": {
"description": "Title of the doc.",
"examples": [
"Project Tracker"
],
"type": "string"
}
},
"additionalProperties": false,
"x-schema-name": "DocUpdate"
}
Fields§
§icon_name: Option<String>
Name of the icon.
title: Option<String>
Title of the doc.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DocUpdate
impl<'de> Deserialize<'de> for DocUpdate
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 DocUpdate
impl RefUnwindSafe for DocUpdate
impl Send for DocUpdate
impl Sync for DocUpdate
impl Unpin for DocUpdate
impl UnwindSafe for DocUpdate
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