Struct puff_rs::web::client::GlobalHttpClient
source · pub struct GlobalHttpClient;
Expand description
Access the Global graphql context
Trait Implementations
sourceimpl Clone for GlobalHttpClient
impl Clone for GlobalHttpClient
sourcefn clone(&self) -> GlobalHttpClient
fn clone(&self) -> GlobalHttpClient
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 GlobalHttpClient
impl IntoPy<Py<PyAny>> for GlobalHttpClient
sourceimpl PyClass for GlobalHttpClient
impl PyClass for GlobalHttpClient
sourceimpl PyClassImpl for GlobalHttpClient
impl PyClassImpl for GlobalHttpClient
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<GlobalHttpClient>
type Layout = PyCell<GlobalHttpClient>
Layout
type ThreadChecker = ThreadCheckerStub<GlobalHttpClient>
type ThreadChecker = ThreadCheckerStub<GlobalHttpClient>
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 GlobalHttpClient
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a GlobalHttpClient
sourceimpl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut GlobalHttpClient
impl<'a, 'py> PyFunctionArgument<'a, 'py> for &'a mut GlobalHttpClient
sourceimpl PyMethods<GlobalHttpClient> for PyClassImplCollector<GlobalHttpClient>
impl PyMethods<GlobalHttpClient> for PyClassImplCollector<GlobalHttpClient>
fn py_methods(self) -> &'static PyClassItems
sourceimpl PyTypeInfo for GlobalHttpClient
impl PyTypeInfo for GlobalHttpClient
type AsRefTarget = PyCell<GlobalHttpClient>
type AsRefTarget = PyCell<GlobalHttpClient>
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.sourceimpl ToPyObject for GlobalHttpClient
impl ToPyObject for GlobalHttpClient
Auto Trait Implementations
impl RefUnwindSafe for GlobalHttpClient
impl Send for GlobalHttpClient
impl Sync for GlobalHttpClient
impl Unpin for GlobalHttpClient
impl UnwindSafe for GlobalHttpClient
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
sourceimpl<'a, T> FromPyObject<'a> for Twhere
T: PyClass + Clone,
impl<'a, T> FromPyObject<'a> for Twhere
T: PyClass + Clone,
impl<T> FromRef<T> for Twhere
T: Clone,
impl<T> FromRef<T> for Twhere
T: Clone,
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToBorrowedObject for Twhere
T: ToPyObject,
impl<T> ToBorrowedObject for Twhere
T: ToPyObject,
sourcefn with_borrowed_ptr<F, R>(&self, py: Python<'_>, f: F) -> Rwhere
F: FnOnce(*mut PyObject) -> R,
fn with_borrowed_ptr<F, R>(&self, py: Python<'_>, f: F) -> Rwhere
F: FnOnce(*mut PyObject) -> R,
👎Deprecated since 0.17.0: this trait is no longer used by PyO3, use ToPyObject or IntoPy<PyObject>
Converts self into a Python object and calls the specified closure
on the native FFI pointer underlying the Python object. Read more