Struct cdoc::notebook::NotebookMeta
source · pub struct NotebookMeta {
pub kernelspec: Option<HashMap<String, Value>>,
pub optional: HashMap<String, Value>,
}
Expand description
Notebook metadata. Currently not precisely specified.
Fields§
§kernelspec: Option<HashMap<String, Value>>
Kernel specification
optional: HashMap<String, Value>
Trait Implementations§
source§impl Clone for NotebookMeta
impl Clone for NotebookMeta
source§fn clone(&self) -> NotebookMeta
fn clone(&self) -> NotebookMeta
Returns a copy 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 NotebookMeta
impl Debug for NotebookMeta
source§impl Default for NotebookMeta
impl Default for NotebookMeta
source§fn default() -> NotebookMeta
fn default() -> NotebookMeta
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NotebookMeta
impl<'de> Deserialize<'de> for NotebookMeta
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 NotebookMeta
impl Send for NotebookMeta
impl Sync for NotebookMeta
impl Unpin for NotebookMeta
impl UnwindSafe for NotebookMeta
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
source§impl<T, R> RenderElement<Vec<R, Global>> for Twhere
T: RenderElement<R>,
impl<T, R> RenderElement<Vec<R, Global>> for Twhere T: RenderElement<R>,
source§fn render(
&mut self,
elem: &Vec<R, Global>,
ctx: &RenderContext<'_>,
buf: impl Write
) -> Result<(), Error>
fn render( &mut self, elem: &Vec<R, Global>, ctx: &RenderContext<'_>, buf: impl Write ) -> Result<(), Error>
Render the element to a buffer
source§fn render_inner(&mut self, elem: &T, ctx: &RenderContext<'_>) -> Result<String>
fn render_inner(&mut self, elem: &T, ctx: &RenderContext<'_>) -> Result<String>
Convenience function for creating a buffer, rendering the element into the buffer, and
returning the result as a string. This is useful when an inner element needs to be rendered
first to be used in an outer element, hence the name.