Struct async_graphql::dynamic::misc::NamedTypeRefBuilder
source · pub struct NamedTypeRefBuilder { /* private fields */ }
Available on crate feature
dynamic-schema
only.Expand description
A type reference builder for named type
Implementations
sourceimpl NamedTypeRefBuilder
impl NamedTypeRefBuilder
sourcepub fn list(self) -> ListTypeRefBuilder
pub fn list(self) -> ListTypeRefBuilder
Consumes this type and returns a list type builder
sourcepub fn into_type_ref(self) -> TypeRef
pub fn into_type_ref(self) -> TypeRef
Consumes this builder and returns a type reference
Trait Implementations
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.
Auto Trait Implementations
impl RefUnwindSafe for NamedTypeRefBuilder
impl Send for NamedTypeRefBuilder
impl Sync for NamedTypeRefBuilder
impl Unpin for NamedTypeRefBuilder
impl UnwindSafe for NamedTypeRefBuilder
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