Struct cdoc_parser::notebook::Notebook
source · pub struct Notebook {
pub metadata: NotebookMeta,
pub nbformat: i64,
pub nbformat_minor: i64,
pub cells: Vec<Cell>,
}Expand description
Top-level notebook structure (the type is a mostly complete implementation of the official notebook specification (http://ipython.org/ipython-doc/3/notebook/nbformat.html).
Fields§
§metadata: NotebookMetaInformation about the kernel and cell language.
nbformat: i64Notebook format (4 is the modern version)
nbformat_minor: i64Minor version
cells: Vec<Cell>The actual content (cells) of the notebook
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Notebook
impl<'de> Deserialize<'de> for Notebook
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 RefUnwindSafe for Notebook
impl Send for Notebook
impl Sync for Notebook
impl Unpin for Notebook
impl UnwindSafe for Notebook
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