pub struct PyForeign {
pub obj: Py<PyAny>,
}Expand description
A Python object held as a library value.
Fields§
§obj: Py<PyAny>Implementations§
Trait Implementations§
Source§impl Foreign for PyForeign
impl Foreign for PyForeign
Source§fn rows(&self) -> Result<Value, String>
fn rows(&self) -> Result<Value, String>
The row reading (
| @): a frame as a list of records with
its index as the first field, an array as nested lists, a
series as a list. Err names why there is none.Auto Trait Implementations§
impl !RefUnwindSafe for PyForeign
impl Freeze for PyForeign
impl Send for PyForeign
impl Sync for PyForeign
impl Unpin for PyForeign
impl UnsafeUnpin for PyForeign
impl UnwindSafe for PyForeign
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