pub struct Note {
pub type_: Note_,
pub content: Vec<BlockContent>,
pub id: Option<Box<String>>,
pub note_type: Option<NoteNoteType>,
}
Expand description
Additional content which is not part of the main content of a document.
Fields§
§type_: Note_
The name of this type
content: Vec<BlockContent>
Content of the note, usually a paragraph.
id: Option<Box<String>>
The identifier for this item.
note_type: Option<NoteNoteType>
Determines where the note content is displayed within the document.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Note
impl<'de> Deserialize<'de> for Note
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 Note
impl RefUnwindSafe for Note
impl Send for Note
impl Sync for Note
impl Unpin for Note
impl UnwindSafe for Note
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