Struct darpi_graphql::GraphQLBody [−][src]
Trait Implementations
impl<'de, T> Deserialize<'de> for GraphQLBody<T> where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
fn deserialize<D>(
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
[src]
deserializer: D
) -> Result<Self, <D as Deserializer<'de>>::Error> where
D: Deserializer<'de>,
impl ErrResponder<QueryPayloadError, Body> for GraphQLBody<Request>
[src]
fn respond_err(e: QueryPayloadError) -> Response<Body>
[src]
impl<C: 'static> FromRequestBodyWithContainer<GraphQLBody<BatchRequest>, GraphQLError, C> for GraphQLBody<BatchRequest> where
C: HasComponent<dyn MultipartOptionsProvider>,
[src]
C: HasComponent<dyn MultipartOptionsProvider>,
fn extract<'life0, 'async_trait>(
headers: &'life0 HeaderMap,
body: Body,
container: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<GraphQLBody<BatchRequest>, GraphQLError>> + Send + 'async_trait>> where
'life0: 'async_trait,
[src]
headers: &'life0 HeaderMap,
body: Body,
container: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<GraphQLBody<BatchRequest>, GraphQLError>> + Send + 'async_trait>> where
'life0: 'async_trait,
#[must_use]pub fn assert_content_type<'life0, 'async_trait>(
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
impl<C: 'static> FromRequestBodyWithContainer<GraphQLBody<Request>, GraphQLError, C> for GraphQLBody<Request> where
C: HasComponent<dyn MultipartOptionsProvider>,
[src]
C: HasComponent<dyn MultipartOptionsProvider>,
fn extract<'life0, 'async_trait>(
headers: &'life0 HeaderMap,
body: Body,
container: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<GraphQLBody<Request>, GraphQLError>> + Send + 'async_trait>> where
'life0: 'async_trait,
[src]
headers: &'life0 HeaderMap,
body: Body,
container: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<GraphQLBody<Request>, GraphQLError>> + Send + 'async_trait>> where
'life0: 'async_trait,
#[must_use]pub fn assert_content_type<'life0, 'async_trait>(
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
_content_type: Option<&'life0 HeaderValue>,
__arg1: Arc<C>
) -> Pin<Box<dyn Future<Output = Result<(), E>> + 'async_trait + Send, Global>> where
'life0: 'async_trait,
Auto Trait Implementations
impl<T> RefUnwindSafe for GraphQLBody<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
impl<T> Send for GraphQLBody<T> where
T: Send,
T: Send,
impl<T> Sync for GraphQLBody<T> where
T: Sync,
T: Sync,
impl<T> Unpin for GraphQLBody<T> where
T: Unpin,
T: Unpin,
impl<T> UnwindSafe for GraphQLBody<T> where
T: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Any for T where
T: Any,
T: Any,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> FromQuery<Option<T>, QueryPayloadError> for T where
T: DeserializeOwned,
T: DeserializeOwned,
pub fn from_query(
query_str: Option<&str>
) -> Result<Option<T>, QueryPayloadError> where
T: FromQuery<T, QueryPayloadError>,
query_str: Option<&str>
) -> Result<Option<T>, QueryPayloadError> where
T: FromQuery<T, QueryPayloadError>,
impl<T> FromQuery<T, QueryPayloadError> for T
pub fn from_query(query_str: Option<&str>) -> Result<T, QueryPayloadError> where
T: DeserializeOwned,
T: DeserializeOwned,
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T> Interface for T where
T: Any + Send + Sync,
[src]
T: Any + Send + Sync,
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ModuleInterface for T where
T: Any + Send + Sync,
[src]
T: Any + Send + Sync,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
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.
pub 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.
pub 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>,