pub struct PyOutput {
pub value: Value,
pub type_name: String,
pub preview: String,
pub convertible: bool,
}Expand description
A Python result kept on the cell.
Fields§
§value: ValueThe result as cells (an array spills), or its preview as text when it has no cell form.
type_name: StringPython’s name for the result’s type.
preview: StringThe result’s repr, shortened.
convertible: boolWhether value is the result converted to cells.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PyOutput
impl<'de> Deserialize<'de> for PyOutput
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 PyOutput
Auto Trait Implementations§
impl Freeze for PyOutput
impl RefUnwindSafe for PyOutput
impl Send for PyOutput
impl Sync for PyOutput
impl Unpin for PyOutput
impl UnsafeUnpin for PyOutput
impl UnwindSafe for PyOutput
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