pub struct CodeCell {
pub id: String,
pub source: String,
pub metadata: Value,
pub execution_count: Option<u32>,
pub outputs: Vec<Output>,
}
Fields§
§id: String
§source: String
§metadata: Value
§execution_count: Option<u32>
§outputs: Vec<Output>
Implementations§
Source§impl CodeCell
impl CodeCell
pub fn add_output(&mut self, output: Output)
pub fn clear_output(&mut self)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CodeCell
impl<'de> Deserialize<'de> for CodeCell
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
impl StructuralPartialEq for CodeCell
Auto Trait Implementations§
impl Freeze for CodeCell
impl RefUnwindSafe for CodeCell
impl Send for CodeCell
impl Sync for CodeCell
impl Unpin for CodeCell
impl UnwindSafe for CodeCell
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