pub struct PythonSerdeSerde {
pub python_serde: PyObject,
}Fields§
§python_serde: PyObjectTrait Implementations§
Source§impl Clone for PythonSerdeSerde
impl Clone for PythonSerdeSerde
Source§fn clone(&self) -> PythonSerdeSerde
fn clone(&self) -> PythonSerdeSerde
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 PyAnySerde for PythonSerdeSerde
impl PyAnySerde for PythonSerdeSerde
fn append<'py>( &mut self, buf: &mut [u8], offset: usize, obj: &Bound<'py, PyAny>, ) -> PyResult<usize>
fn append_vec<'py>( &mut self, v: &mut Vec<u8>, start_addr: Option<usize>, obj: &Bound<'py, PyAny>, ) -> PyResult<()>
fn retrieve<'py>( &mut self, py: Python<'py>, buf: &[u8], offset: usize, ) -> PyResult<(Bound<'py, PyAny>, usize)>
fn append_option<'py>( &mut self, buf: &mut [u8], offset: usize, obj_option: &Option<&Bound<'py, PyAny>>, ) -> PyResult<usize>
fn append_option_vec<'py>( &mut self, v: &mut Vec<u8>, start_addr: Option<usize>, obj_option: &Option<&Bound<'py, PyAny>>, ) -> PyResult<()>
fn retrieve_option<'py>( &mut self, py: Python<'py>, buf: &[u8], offset: usize, ) -> PyResult<(Option<Bound<'py, PyAny>>, usize)>
Auto Trait Implementations§
impl Freeze for PythonSerdeSerde
impl !RefUnwindSafe for PythonSerdeSerde
impl Send for PythonSerdeSerde
impl Sync for PythonSerdeSerde
impl Unpin for PythonSerdeSerde
impl UnwindSafe for PythonSerdeSerde
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