Struct puff_rs::graphql::AggroContext
source · pub struct AggroContext { /* private fields */ }Implementations
sourceimpl AggroContext
impl AggroContext
pub fn new(auth: Option<PyObject>, config: PuffGraphqlConfig) -> Self
pub fn new_with_connection(
auth: Option<PyObject>,
conn: Option<Connection>,
config: PuffGraphqlConfig
) -> Self
pub fn connection(&self) -> &Mutex<Connection>
pub fn config(&self) -> &PuffGraphqlConfig
pub fn maybe_connection(&self) -> &Option<Mutex<Connection>>
pub fn auth(&self) -> Option<PyObject>
Trait Implementations
impl Context for AggroContext
Auto Trait Implementations
impl !RefUnwindSafe for AggroContext
impl Send for AggroContext
impl Sync for AggroContext
impl Unpin for AggroContext
impl !UnwindSafe for AggroContext
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