Struct gitlab::AsyncGitlab
source · pub struct AsyncGitlab { /* private fields */ }
Expand description
A representation of the asynchronous Gitlab API for a single user.
Separate users should use separate instances of this.
Implementations§
source§impl AsyncGitlab
impl AsyncGitlab
sourcepub async fn graphql<Q>(
&self,
query: &QueryBody<Q::Variables>
) -> Result<Q::ResponseData, GitlabError>where
Q: GraphQLQuery,
Q::Variables: Debug,
for<'d> Q::ResponseData: Deserialize<'d>,
pub async fn graphql<Q>( &self, query: &QueryBody<Q::Variables> ) -> Result<Q::ResponseData, GitlabError>where Q: GraphQLQuery, Q::Variables: Debug, for<'d> Q::ResponseData: Deserialize<'d>,
Send a GraphQL query.
Trait Implementations§
source§impl AsyncClient for AsyncGitlab
impl AsyncClient for AsyncGitlab
source§impl Clone for AsyncGitlab
impl Clone for AsyncGitlab
source§fn clone(&self) -> AsyncGitlab
fn clone(&self) -> AsyncGitlab
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AsyncGitlab
impl Debug for AsyncGitlab
Auto Trait Implementations§
impl !RefUnwindSafe for AsyncGitlab
impl Send for AsyncGitlab
impl Sync for AsyncGitlab
impl Unpin for AsyncGitlab
impl !UnwindSafe for AsyncGitlab
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