pub struct AnnotationObject {
pub bold: bool,
pub italic: bool,
pub strikethrough: bool,
pub underline: bool,
pub code: bool,
pub color: String,
}
Fields§
§bold: bool
§italic: bool
§strikethrough: bool
§underline: bool
§code: bool
§color: String
Trait Implementations§
Source§impl Clone for AnnotationObject
impl Clone for AnnotationObject
Source§fn clone(&self) -> AnnotationObject
fn clone(&self) -> AnnotationObject
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AnnotationObject
impl Debug for AnnotationObject
Source§impl Default for AnnotationObject
impl Default for AnnotationObject
Source§impl<'de> Deserialize<'de> for AnnotationObject
impl<'de> Deserialize<'de> for AnnotationObject
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 AnnotationObject
impl RefUnwindSafe for AnnotationObject
impl Send for AnnotationObject
impl Sync for AnnotationObject
impl Unpin for AnnotationObject
impl UnwindSafe for AnnotationObject
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