pub struct PageContentUpdate {
pub canvas_content: PageContent,
pub insertion_mode: PageContentInsertionMode,
}
Expand description
Payload for updating the content of an existing page.
JSON schema
{
"description": "Payload for updating the content of an existing page.",
"type": "object",
"required": [
"canvasContent",
"insertionMode"
],
"properties": {
"canvasContent": {
"$ref": "#/components/schemas/PageContent"
},
"insertionMode": {
"$ref": "#/components/schemas/PageContentInsertionMode"
}
},
"additionalProperties": false,
"x-schema-name": "PageContentUpdate"
}
Fields§
§canvas_content: PageContent
§insertion_mode: PageContentInsertionMode
Trait Implementations§
Source§impl Clone for PageContentUpdate
impl Clone for PageContentUpdate
Source§fn clone(&self) -> PageContentUpdate
fn clone(&self) -> PageContentUpdate
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 PageContentUpdate
impl Debug for PageContentUpdate
Source§impl<'de> Deserialize<'de> for PageContentUpdate
impl<'de> Deserialize<'de> for PageContentUpdate
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<&PageContentUpdate> for PageContentUpdate
impl From<&PageContentUpdate> for PageContentUpdate
Source§fn from(value: &PageContentUpdate) -> Self
fn from(value: &PageContentUpdate) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageContentUpdate
impl RefUnwindSafe for PageContentUpdate
impl Send for PageContentUpdate
impl Sync for PageContentUpdate
impl Unpin for PageContentUpdate
impl UnwindSafe for PageContentUpdate
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