Struct async_graphql::types::Any [−][src]
pub struct Any(pub Value);Expand description
Any scalar (For Apollo Federation)
The Any scalar is used to pass representations of entities from external services into the root _entities field for execution.
Tuple Fields
0: ValueTrait Implementations
type RawValueType = Self
type RawValueType = Self
The raw type used for validator. Read more
Create type information in the registry and return qualified typename.
Parse from Value. None represents undefined.
Returns a reference to the raw value.
Qualified typename.
Create type information in the registry and return qualified typename.
fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
fn resolve<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
__arg1: &'life1 ContextSelectionSet<'life2>,
_field: &'life3 Positioned<Field>
) -> Pin<Box<dyn Future<Output = ServerResult<Value>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self: 'async_trait,
Resolve an output value to async_graphql::Value.
Qualified typename.
Introspection type name Read more
The _Any scalar is used to pass representations of entities from external services into the root _entities field for execution.
Auto Trait Implementations
impl RefUnwindSafe for Any
impl UnwindSafe for Any
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more