pub struct GqlClient { /* private fields */ }Implementations§
Source§impl GqlClient
impl GqlClient
pub fn new( auth_config: &AuthConfig, id_service_url: &str, registry_gql_url: &str, ) -> Self
pub async fn send_request<T>(
&mut self,
variables: T::Variables,
) -> Result<T::ResponseData, String>where
T: GraphQLQuery,
Auto Trait Implementations§
impl !RefUnwindSafe for GqlClient
impl !UnwindSafe for GqlClient
impl Freeze for GqlClient
impl Send for GqlClient
impl Sync for GqlClient
impl Unpin for GqlClient
impl UnsafeUnpin for GqlClient
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