Struct vector_api_client::gql::HealthQuery
source · pub struct HealthQuery;
Expand description
HealthQuery is generally used to assert that the GraphQL API server is alive.
The health
field returns true.
Trait Implementations§
source§impl Clone for HealthQuery
impl Clone for HealthQuery
source§fn clone(&self) -> HealthQuery
fn clone(&self) -> HealthQuery
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 HealthQuery
impl Debug for HealthQuery
source§impl GraphQLQuery for HealthQuery
impl GraphQLQuery for HealthQuery
source§type Variables = Variables
type Variables = Variables
The shape of the variables expected by the query. This should be a generated struct most of the time.
source§type ResponseData = ResponseData
type ResponseData = ResponseData
The top-level shape of the response data (the
data
field in the GraphQL response). In practice this should be generated, since it is hard to write by hand without error.source§fn build_query(variables: Self::Variables) -> QueryBody<Self::Variables>
fn build_query(variables: Self::Variables) -> QueryBody<Self::Variables>
Produce a GraphQL query struct that can be JSON serialized and sent to a GraphQL API.
impl Copy for HealthQuery
Auto Trait Implementations§
impl Freeze for HealthQuery
impl RefUnwindSafe for HealthQuery
impl Send for HealthQuery
impl Sync for HealthQuery
impl Unpin for HealthQuery
impl UnwindSafe for HealthQuery
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)