pub struct NoteContent {
pub body_text: String,
pub attachments: Vec<Attachment>,
}Expand description
Decoded rich-text + attachments of a note’s non-summary object.
Fields§
§body_text: StringPlain-text rendering of the CDTEXT runs (the rich-text body).
attachments: Vec<Attachment>Embedded images and file attachments.
Implementations§
Trait Implementations§
Source§impl Clone for NoteContent
impl Clone for NoteContent
Source§fn clone(&self) -> NoteContent
fn clone(&self) -> NoteContent
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 NoteContent
impl Debug for NoteContent
Source§impl Default for NoteContent
impl Default for NoteContent
Source§fn default() -> NoteContent
fn default() -> NoteContent
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NoteContent
impl RefUnwindSafe for NoteContent
impl Send for NoteContent
impl Sync for NoteContent
impl Unpin for NoteContent
impl UnsafeUnpin for NoteContent
impl UnwindSafe for NoteContent
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