pub struct Query { /* private fields */ }Implementations§
Trait Implementations§
Source§impl GQLLeetcodeRequest for Query
impl GQLLeetcodeRequest for Query
type T = Root
fn use_cache(&self) -> bool
fn get_body(&self) -> Value
fn is_post(&self) -> bool
Source§fn get_endpoint(&self) -> String
fn get_endpoint(&self) -> String
Default graphql endpoint
fn get_query_hash(&self) -> u64
fn send<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<Self::T>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnsafeUnpin for Query
impl UnwindSafe for Query
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