[−][src]Struct async_graphql::PreparedQuery
Prepared query object
Methods
impl<'a, Query, Mutation> PreparedQuery<'a, Query, Mutation>
[src]
pub fn is_upload(&self) -> bool
[src]
Detects whether any parameter contains the Upload type
pub fn set_upload(
&mut self,
var_path: &str,
filename: &str,
content_type: Option<&str>,
content: Bytes
)
[src]
&mut self,
var_path: &str,
filename: &str,
content_type: Option<&str>,
content: Bytes
)
Set upload files
pub async fn execute(self) -> Result<Value> where
Query: ObjectType + Send + Sync,
Mutation: ObjectType + Send + Sync,
[src]
Query: ObjectType + Send + Sync,
Mutation: ObjectType + Send + Sync,
Execute the query.
Auto Trait Implementations
impl<'a, Query, Mutation> !RefUnwindSafe for PreparedQuery<'a, Query, Mutation>
impl<'a, Query, Mutation> Send for PreparedQuery<'a, Query, Mutation> where
Mutation: Sync,
Query: Sync,
Mutation: Sync,
Query: Sync,
impl<'a, Query, Mutation> Sync for PreparedQuery<'a, Query, Mutation> where
Mutation: Sync,
Query: Sync,
Mutation: Sync,
Query: Sync,
impl<'a, Query, Mutation> Unpin for PreparedQuery<'a, Query, Mutation>
impl<'a, Query, Mutation> !UnwindSafe for PreparedQuery<'a, Query, Mutation>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,