Struct async_graphql::SDLExportOptions
source · [−]pub struct SDLExportOptions { /* private fields */ }
Expand description
Options for SDL export
Implementations
sourceimpl SDLExportOptions
impl SDLExportOptions
sourcepub fn sorted_fields(self) -> Self
pub fn sorted_fields(self) -> Self
Export sorted fields
sourcepub fn sorted_arguments(self) -> Self
pub fn sorted_arguments(self) -> Self
Export sorted field arguments
sourcepub fn sorted_enum_items(self) -> Self
pub fn sorted_enum_items(self) -> Self
Export sorted enum items
sourcepub fn federation(self) -> Self
pub fn federation(self) -> Self
Export as Federation SDL(Schema Definition Language)
sourcepub fn prefer_single_line_descriptions(self) -> Self
pub fn prefer_single_line_descriptions(self) -> Self
When possible, write one-line instead of three-line descriptions
sourcepub fn include_specified_by(self) -> Self
pub fn include_specified_by(self) -> Self
Includes specifiedBy
directive in SDL
Trait Implementations
sourceimpl Clone for SDLExportOptions
impl Clone for SDLExportOptions
sourcefn clone(&self) -> SDLExportOptions
fn clone(&self) -> SDLExportOptions
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for SDLExportOptions
impl Debug for SDLExportOptions
sourceimpl Default for SDLExportOptions
impl Default for SDLExportOptions
sourcefn default() -> SDLExportOptions
fn default() -> SDLExportOptions
Returns the “default value” for a type. Read more
impl Copy for SDLExportOptions
Auto Trait Implementations
impl RefUnwindSafe for SDLExportOptions
impl Send for SDLExportOptions
impl Sync for SDLExportOptions
impl Unpin for SDLExportOptions
impl UnwindSafe for SDLExportOptions
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