pub struct PageContentItemContent {
pub content: String,
pub format: PageContentItemContentFormat,
pub line_level: Option<i64>,
pub style: PageLineStyle,
}Expand description
Content details of the item.
JSON schema
{
"description": "Content details of the item.",
"type": "object",
"required": [
"content",
"format",
"style"
],
"properties": {
"content": {
"description": "Content of the item in the specified format.",
"examples": [
"This is a paragraph of text."
],
"type": "string"
},
"format": {
"$ref": "#/components/schemas/PageContentItemContentFormat"
},
"lineLevel": {
"description": "Indentation level of the element. Present for
indentable elements (paragraphs, blockquotes, and list items).\n",
"examples": [
0
],
"type": "integer"
},
"style": {
"$ref": "#/components/schemas/PageLineStyle"
}
},
"additionalProperties": false,
"x-schema-name": "PageContentItemContent"
}Fields§
§content: StringContent of the item in the specified format.
format: PageContentItemContentFormat§line_level: Option<i64>Indentation level of the element. Present for indentable elements (paragraphs, blockquotes, and list items).
style: PageLineStyleTrait Implementations§
Source§impl Clone for PageContentItemContent
impl Clone for PageContentItemContent
Source§fn clone(&self) -> PageContentItemContent
fn clone(&self) -> PageContentItemContent
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 PageContentItemContent
impl Debug for PageContentItemContent
Source§impl<'de> Deserialize<'de> for PageContentItemContent
impl<'de> Deserialize<'de> for PageContentItemContent
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<&PageContentItemContent> for PageContentItemContent
impl From<&PageContentItemContent> for PageContentItemContent
Source§fn from(value: &PageContentItemContent) -> Self
fn from(value: &PageContentItemContent) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PageContentItemContent
impl RefUnwindSafe for PageContentItemContent
impl Send for PageContentItemContent
impl Sync for PageContentItemContent
impl Unpin for PageContentItemContent
impl UnwindSafe for PageContentItemContent
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