pub struct GraphqlRequest {
pub query: &'static str,
pub operation_name: &'static str,
}
Expand description
A structure representing a GraphQL request.
Fields§
§query: &'static str
The GraphQL query that will be executed
operation_name: &'static str
The operation name within the query to execute
Trait Implementations§
Source§impl Debug for GraphqlRequest
impl Debug for GraphqlRequest
Source§impl Deserialize<'static> for GraphqlRequest
impl Deserialize<'static> for GraphqlRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'static>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphqlRequest
impl RefUnwindSafe for GraphqlRequest
impl Send for GraphqlRequest
impl Sync for GraphqlRequest
impl Unpin for GraphqlRequest
impl UnwindSafe for GraphqlRequest
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