[][src]Struct async_graphql::Any

pub struct Any(pub Value);

Any scalar

The Any scalar is used to pass representations of entities from external services into the root _entities field for execution.

Implementations

impl Any[src]

pub fn parse_value<T: DeserializeOwned>(&self) -> Result<T, Error>[src]

Parse this Any value to T by serde_json.

Trait Implementations

impl Clone for Any[src]

impl Debug for Any[src]

impl<T> From<T> for Any where
    T: Into<Value>, 
[src]

impl PartialEq<Any> for Any[src]

impl ScalarType for Any[src]

The _Any scalar is used to pass representations of entities from external services into the root _entities field for execution.

impl StructuralPartialEq for Any[src]

impl Type for Any[src]

Auto Trait Implementations

impl RefUnwindSafe for Any

impl Send for Any

impl Sync for Any

impl Unpin for Any

impl UnwindSafe for Any

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,