pub struct PageContentDelete {
pub element_ids: Vec<String>,
}Expand description
Payload for deleting content from a page.
JSON schema
{
"description": "Payload for deleting content from a page.",
"type": "object",
"properties": {
"elementIds": {
"description": "IDs of the elements to delete from the page. If
omitted or empty, all content will be deleted.\n",
"examples": [
[
"cl-lzqh0Q0poT",
"cl-abc123def"
]
],
"type": "array",
"items": {
"type": "string"
}
}
},
"additionalProperties": false,
"x-schema-name": "PageContentDelete"
}Fields§
§element_ids: Vec<String>IDs of the elements to delete from the page. If omitted or empty, all content will be deleted.
Trait Implementations§
Source§impl Clone for PageContentDelete
impl Clone for PageContentDelete
Source§fn clone(&self) -> PageContentDelete
fn clone(&self) -> PageContentDelete
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 PageContentDelete
impl Debug for PageContentDelete
Source§impl Default for PageContentDelete
impl Default for PageContentDelete
Source§impl<'de> Deserialize<'de> for PageContentDelete
impl<'de> Deserialize<'de> for PageContentDelete
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<&PageContentDelete> for PageContentDelete
impl From<&PageContentDelete> for PageContentDelete
Source§fn from(value: &PageContentDelete) -> Self
fn from(value: &PageContentDelete) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageContentDelete
impl RefUnwindSafe for PageContentDelete
impl Send for PageContentDelete
impl Sync for PageContentDelete
impl Unpin for PageContentDelete
impl UnwindSafe for PageContentDelete
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