pub enum PythonObject {
Str(String),
Int(i32),
Code(PythonCodeObject),
None,
}Variants§
Trait Implementations§
Source§impl Clone for PythonObject
impl Clone for PythonObject
Source§fn clone(&self) -> PythonObject
fn clone(&self) -> PythonObject
Returns a duplicate 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 PythonObject
impl Debug for PythonObject
Source§impl<'de> Deserialize<'de> for PythonObject
impl<'de> Deserialize<'de> for PythonObject
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 PartialEq for PythonObject
impl PartialEq for PythonObject
Source§impl Serialize for PythonObject
impl Serialize for PythonObject
impl Eq for PythonObject
impl StructuralPartialEq for PythonObject
Auto Trait Implementations§
impl Freeze for PythonObject
impl RefUnwindSafe for PythonObject
impl Send for PythonObject
impl Sync for PythonObject
impl Unpin for PythonObject
impl UnwindSafe for PythonObject
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