Struct stencila_schema::Note [−][src]
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
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 RefUnwindSafe for Note
impl UnwindSafe for Note
Blanket Implementations
Mutably borrows from an owned value. Read more