pub type PythonFunction = PythonObject;
Aliased Type§
pub struct PythonFunction(pub Py<PyAny>);
Tuple Fields§
§0: Py<PyAny>
Implementations
Source§impl PythonObject
impl PythonObject
pub fn serialize_with_pyversion<T, S>( value: &T, serializer: S, ) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>
pub fn deserialize_with_pyversion<'de, T, D>( d: D, ) -> Result<T, <D as Deserializer<'de>>::Error>
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 DataFrameUdf for PythonObject
impl DataFrameUdf for PythonObject
Source§impl Debug for PythonObject
impl Debug for PythonObject
Source§impl Deref for PythonObject
impl Deref for PythonObject
Source§impl DerefMut for PythonObject
impl DerefMut for PythonObject
Source§impl<'a> Deserialize<'a> for PythonObject
impl<'a> Deserialize<'a> for PythonObject
Source§fn deserialize<D>(
deserializer: D,
) -> Result<PythonObject, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
fn deserialize<D>(
deserializer: D,
) -> Result<PythonObject, <D as Deserializer<'a>>::Error>where
D: Deserializer<'a>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'py> IntoPyObject<'py> for PythonObject
impl<'py> IntoPyObject<'py> for PythonObject
Source§type Output = Bound<'py, <PythonObject as IntoPyObject<'py>>::Target>
type Output = Bound<'py, <PythonObject as IntoPyObject<'py>>::Target>
The smart pointer type to use. Read more
Source§fn into_pyobject(
self,
py: Python<'py>,
) -> Result<<PythonObject as IntoPyObject<'py>>::Output, <PythonObject as IntoPyObject<'py>>::Error>
fn into_pyobject( self, py: Python<'py>, ) -> Result<<PythonObject as IntoPyObject<'py>>::Output, <PythonObject as IntoPyObject<'py>>::Error>
Performs the conversion.
Source§impl PartialEq for PythonObject
impl PartialEq for PythonObject
Source§impl Serialize for PythonObject
impl Serialize for PythonObject
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more