pub struct RichTextList {
pub style: RichTextListStyle,
pub elements: Vec<RichTextSection>,
pub indent: Option<u32>,
pub offset: Option<u32>,
pub border: Option<u8>,
/* private fields */
}Expand description
Fields§
§style: RichTextListStyle§elements: Vec<RichTextSection>§indent: Option<u32>§offset: Option<u32>§border: Option<u8>Implementations§
Trait Implementations§
Source§impl Clone for RichTextList
impl Clone for RichTextList
Source§impl Debug for RichTextList
impl Debug for RichTextList
Source§impl<'de> Deserialize<'de> for RichTextList
impl<'de> Deserialize<'de> for RichTextList
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<RichTextList> for RichTextObject
impl From<RichTextList> for RichTextObject
Source§fn from(value: RichTextList) -> Self
fn from(value: RichTextList) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RichTextList
impl PartialEq for RichTextList
Source§impl Serialize for RichTextList
impl Serialize for RichTextList
impl StructuralPartialEq for RichTextList
Auto Trait Implementations§
impl Freeze for RichTextList
impl RefUnwindSafe for RichTextList
impl Send for RichTextList
impl Sync for RichTextList
impl Unpin for RichTextList
impl UnsafeUnpin for RichTextList
impl UnwindSafe for RichTextList
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