Struct puff_rs::web::client::PyHttpClient
source · pub struct PyHttpClient { /* private fields */ }
Trait Implementations
sourceimpl Clone for PyHttpClient
impl Clone for PyHttpClient
sourcefn clone(&self) -> PyHttpClient
fn clone(&self) -> PyHttpClient
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl IntoPy<Py<PyAny>> for PyHttpClient
impl IntoPy<Py<PyAny>> for PyHttpClient
sourceimpl PyClass for PyHttpClient
impl PyClass for PyHttpClient
sourceimpl PyClassImpl for PyHttpClient
impl PyClassImpl for PyHttpClient
sourceconst IS_BASETYPE: bool = false
const IS_BASETYPE: bool = false
#[pyclass(subclass)]
sourceconst IS_SUBCLASS: bool = false
const IS_SUBCLASS: bool = false
#[pyclass(extends=…)]
sourceconst IS_MAPPING: bool = false
const IS_MAPPING: bool = false
#[pyclass(mapping)]
sourceconst IS_SEQUENCE: bool = false
const IS_SEQUENCE: bool = false
#[pyclass(sequence)]
type Layout = PyCell<PyHttpClient>
type Layout = PyCell<PyHttpClient>
Layout
type ThreadChecker = ThreadCheckerStub<PyHttpClient>
type ThreadChecker = ThreadCheckerStub<PyHttpClient>
This handles following two situations: Read more
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
type PyClassMutability = <<PyAny as PyClassBaseType>::PyClassMutability as PyClassMutability>::MutableChild
Immutable or mutable
type Dict = PyClassDummySlot
type Dict = PyClassDummySlot
Specify this class has
#[pyclass(dict)]
or not.type WeakRef = PyClassDummySlot
type WeakRef = PyClassDummySlot
Specify this class has
#[pyclass(weakref)]
or not.type BaseNativeType = PyAny
type BaseNativeType = PyAny
The closest native ancestor. This is
PyAny
by default, and when you declare
#[pyclass(extends=PyDict)]
, it’s PyDict
. Read morefn items_iter() -> PyClassItemsIter
fn dict_offset() -> Option<isize>
fn weaklist_offset() -> Option<isize>
sourceimpl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyHttpClient
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a PyHttpClient
sourceimpl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyHttpClient
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut PyHttpClient
sourceimpl PyMethods<PyHttpClient> for PyClassImplCollector<PyHttpClient>
impl PyMethods<PyHttpClient> for PyClassImplCollector<PyHttpClient>
fn py_methods(self) -> &'static PyClassItems
sourceimpl PyTypeInfo for PyHttpClient
impl PyTypeInfo for PyHttpClient
type AsRefTarget = PyCell<PyHttpClient>
type AsRefTarget = PyCell<PyHttpClient>
Utility type to make Py::as_ref work.
sourcefn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
fn type_object_raw(py: Python<'_>) -> *mut PyTypeObject
Returns the PyTypeObject instance for this type.
sourcefn type_object(py: Python<'_>) -> &PyType
fn type_object(py: Python<'_>) -> &PyType
Returns the safe abstraction over the type object.
sourcefn is_type_of(object: &PyAny) -> bool
fn is_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type or a subclass of this type.sourcefn is_exact_type_of(object: &PyAny) -> bool
fn is_exact_type_of(object: &PyAny) -> bool
Checks if
object
is an instance of this type.Auto Trait Implementations
impl !RefUnwindSafe for PyHttpClient
impl Send for PyHttpClient
impl Sync for PyHttpClient
impl Unpin for PyHttpClient
impl !UnwindSafe for PyHttpClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more