pub struct NotebookMetadata {
pub title: Option<String>,
pub description: Option<String>,
pub dependencies: Vec<String>,
}Expand description
Metadata extracted from the notebook header.
Fields§
§title: Option<String>Notebook title (from first # Title in doc comment)
description: Option<String>Notebook description (from doc comment after title)
dependencies: Vec<String>Dependencies (parsed from //! ```cargo block)
Trait Implementations§
Source§impl Clone for NotebookMetadata
impl Clone for NotebookMetadata
Source§fn clone(&self) -> NotebookMetadata
fn clone(&self) -> NotebookMetadata
Returns a duplicate of the value. Read more
1.0.0 · 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 NotebookMetadata
impl Debug for NotebookMetadata
Source§impl Default for NotebookMetadata
impl Default for NotebookMetadata
Source§fn default() -> NotebookMetadata
fn default() -> NotebookMetadata
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NotebookMetadata
impl RefUnwindSafe for NotebookMetadata
impl Send for NotebookMetadata
impl Sync for NotebookMetadata
impl Unpin for NotebookMetadata
impl UnwindSafe for NotebookMetadata
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