Struct gitlab::AsyncGitlab [−][src]
pub struct AsyncGitlab { /* fields omitted */ }
Expand description
A representation of the asynchronous Gitlab API for a single user.
Separate users should use separate instances of this.
Implementations
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>,
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
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
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more