Enum cdoc::notebook::CellOutput
source · pub enum CellOutput {
Stream {
name: String,
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