pub enum Output {
Stream {
name: String,
text: Source,
},
DisplayData {
data: HashMap<String, Value>,
metadata: Value,
},
ExecuteResult {
execution_count: i32,
data: HashMap<String, Value>,
metadata: Value,
},
Error {
ename: String,
evalue: String,
traceback: Vec<String>,
},
}Expand description
Cell execution output
Variants§
Stream
Stream output (stdout/stderr)
DisplayData
Display data (rich output)
ExecuteResult
Execution result (cell return value)
Fields
Error
Error output
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Output
impl<'de> Deserialize<'de> for Output
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 Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnwindSafe for Output
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