pub struct GQLSchemaBuilder { /* private fields */ }Implementations§
Source§impl GQLSchemaBuilder
impl GQLSchemaBuilder
pub fn new() -> Self
pub fn object(self, obj: GQLObject) -> Self
pub fn interface(self, iface: GQLInterface) -> Self
pub fn union_type(self, u: GQLUnion) -> Self
pub fn enum_type(self, e: GQLEnumDef) -> Self
pub fn scalar(self, s: GQLScalar) -> Self
pub fn input(self, inp: GQLInputObject) -> Self
pub fn query_type(self, name: impl Into<String>) -> Self
pub fn mutation_type(self, name: impl Into<String>) -> Self
pub fn build(self) -> GQLSchemaExtended
Trait Implementations§
Source§impl Clone for GQLSchemaBuilder
impl Clone for GQLSchemaBuilder
Source§fn clone(&self) -> GQLSchemaBuilder
fn clone(&self) -> GQLSchemaBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GQLSchemaBuilder
impl Debug for GQLSchemaBuilder
Source§impl Default for GQLSchemaBuilder
impl Default for GQLSchemaBuilder
Source§fn default() -> GQLSchemaBuilder
fn default() -> GQLSchemaBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for GQLSchemaBuilder
impl RefUnwindSafe for GQLSchemaBuilder
impl Send for GQLSchemaBuilder
impl Sync for GQLSchemaBuilder
impl Unpin for GQLSchemaBuilder
impl UnsafeUnpin for GQLSchemaBuilder
impl UnwindSafe for GQLSchemaBuilder
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