Enum cdoc::notebook::CellOutput
source · pub enum CellOutput {
Stream {
name: StreamType,
text: String,
},
Data {
execution_count: Option<i64>,
data: Vec<OutputValue>,
metadata: HashMap<String, Value>,
},
Error {
ename: String,
evalue: String,
traceback: Vec<String>,
},
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for CellOutput
impl Clone for CellOutput
source§fn clone(&self) -> CellOutput
fn clone(&self) -> CellOutput
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 CellOutput
impl Debug for CellOutput
source§impl<'de> Deserialize<'de> for CellOutput
impl<'de> Deserialize<'de> for CellOutput
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 RenderElement<ToLaTeXContext> for CellOutput
impl RenderElement<ToLaTeXContext> for CellOutput
source§impl Serialize for CellOutput
impl Serialize for CellOutput
source§impl ToHtml for CellOutput
impl ToHtml for CellOutput
Auto Trait Implementations§
impl RefUnwindSafe for CellOutput
impl Send for CellOutput
impl Sync for CellOutput
impl Unpin for CellOutput
impl UnwindSafe for CellOutput
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