pub struct GraphqlOperationTemplate {
pub method: String,
pub url: String,
pub path: Option<String>,
pub query: Option<BTreeMap<String, Value>>,
pub headers: Option<BTreeMap<String, Value>>,
pub cookies: Option<BTreeMap<String, Value>>,
pub auth: Option<AuthTemplate>,
pub graphql: GraphqlTemplate,
pub stream: bool,
pub transport: Option<TransportTemplate>,
}Fields§
§method: String§url: String§path: Option<String>§query: Option<BTreeMap<String, Value>>§headers: Option<BTreeMap<String, Value>>§auth: Option<AuthTemplate>§graphql: GraphqlTemplate§stream: bool§transport: Option<TransportTemplate>Trait Implementations§
Source§impl Clone for GraphqlOperationTemplate
impl Clone for GraphqlOperationTemplate
Source§fn clone(&self) -> GraphqlOperationTemplate
fn clone(&self) -> GraphqlOperationTemplate
Returns a duplicate 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 GraphqlOperationTemplate
impl Debug for GraphqlOperationTemplate
Source§impl<'de> Deserialize<'de> for GraphqlOperationTemplate
impl<'de> Deserialize<'de> for GraphqlOperationTemplate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GraphqlOperationTemplate
impl RefUnwindSafe for GraphqlOperationTemplate
impl Send for GraphqlOperationTemplate
impl Sync for GraphqlOperationTemplate
impl Unpin for GraphqlOperationTemplate
impl UnsafeUnpin for GraphqlOperationTemplate
impl UnwindSafe for GraphqlOperationTemplate
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