Struct async_graphql::dynamic::TypeRef
source · pub struct TypeRef(_);
Available on crate feature
dynamic-schema
only.Expand description
A type reference
Implementations
sourceimpl TypeRef
impl TypeRef
sourcepub const INT: NamedTypeRefBuilder = _
pub const INT: NamedTypeRefBuilder = _
A Int scalar type
sourcepub const FLOAT: NamedTypeRefBuilder = _
pub const FLOAT: NamedTypeRefBuilder = _
A Float scalar type
sourcepub const STRING: NamedTypeRefBuilder = _
pub const STRING: NamedTypeRefBuilder = _
A String scalar type
sourcepub const BOOLEAN: NamedTypeRefBuilder = _
pub const BOOLEAN: NamedTypeRefBuilder = _
A Boolean scalar type
sourcepub const ID: NamedTypeRefBuilder = _
pub const ID: NamedTypeRefBuilder = _
A ID scalar type
Trait Implementations
sourceimpl From<ListTypeRefBuilder> for TypeRef
impl From<ListTypeRefBuilder> for TypeRef
sourcefn from(builder: ListTypeRefBuilder) -> Self
fn from(builder: ListTypeRefBuilder) -> Self
Converts to this type from the input type.
sourceimpl From<NamedTypeRefBuilder> for TypeRef
impl From<NamedTypeRefBuilder> for TypeRef
sourcefn from(builder: NamedTypeRefBuilder) -> Self
fn from(builder: NamedTypeRefBuilder) -> Self
Converts to this type from the input type.
impl Eq for TypeRef
impl StructuralEq for TypeRef
impl StructuralPartialEq for TypeRef
Auto Trait Implementations
impl RefUnwindSafe for TypeRef
impl Send for TypeRef
impl Sync for TypeRef
impl Unpin for TypeRef
impl UnwindSafe for TypeRef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.