pub struct RawNotebook {
pub cells: Vec<Cell>,
pub metadata: RawNotebookMetadata,
pub nbformat: i64,
pub nbformat_minor: i64,
}Expand description
The root of the JSON of a Jupyter Notebook
Generated by https://app.quicktype.io/ from https://github.com/jupyter/nbformat/blob/16b53251aabf472ad9406ddb1f78b0421c014eeb/nbformat/v4/nbformat.v4.schema.json Jupyter Notebook v4.5 JSON schema.
Fields§
§cells: Vec<Cell>Array of cells of the current notebook.
metadata: RawNotebookMetadataNotebook root-level metadata.
nbformat: i64Notebook format (major number). Incremented between backwards incompatible changes to the notebook format.
nbformat_minor: i64Notebook format (minor number). Incremented for backward compatible changes to the notebook format.
Trait Implementations§
Source§impl Clone for RawNotebook
impl Clone for RawNotebook
Source§fn clone(&self) -> RawNotebook
fn clone(&self) -> RawNotebook
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 RawNotebook
impl Debug for RawNotebook
Source§impl<'de> Deserialize<'de> for RawNotebook
impl<'de> Deserialize<'de> for RawNotebook
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
Source§impl PartialEq for RawNotebook
impl PartialEq for RawNotebook
Source§impl Serialize for RawNotebook
impl Serialize for RawNotebook
impl StructuralPartialEq for RawNotebook
Auto Trait Implementations§
impl Freeze for RawNotebook
impl RefUnwindSafe for RawNotebook
impl Send for RawNotebook
impl Sync for RawNotebook
impl Unpin for RawNotebook
impl UnsafeUnpin for RawNotebook
impl UnwindSafe for RawNotebook
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