pub struct GqlValue(/* private fields */);
Expand description
Represents a wrapper around a Value
to expose as graphql
Trait Implementations§
Source§impl OutputType for GqlValue
impl OutputType for GqlValue
Source§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
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: '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
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Resolve an output value to
async_graphql::Value
.Source§impl PartialOrd for GqlValue
impl PartialOrd for GqlValue
Source§impl ScalarType for GqlValue
impl ScalarType for GqlValue
Source§fn parse(value: AsyncGraphqlValue) -> InputValueResult<Self>
fn parse(value: AsyncGraphqlValue) -> InputValueResult<Self>
Parse a scalar value.
Source§fn to_value(&self) -> AsyncGraphqlValue
fn to_value(&self) -> AsyncGraphqlValue
Convert the scalar to
Value
.Source§impl Type for GqlValue
impl Type for GqlValue
Source§fn create_type_info(registry: &mut Registry) -> String
fn create_type_info(registry: &mut Registry) -> String
Create type information in the registry and return qualified typename.
Source§fn qualified_type_name() -> String
fn qualified_type_name() -> String
Qualified typename.
impl Eq for GqlValue
impl StructuralPartialEq for GqlValue
Auto Trait Implementations§
impl Freeze for GqlValue
impl RefUnwindSafe for GqlValue
impl Send for GqlValue
impl Sync for GqlValue
impl Unpin for GqlValue
impl UnwindSafe for GqlValue
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.