Struct async_graphql::SDLExportOptions
source · pub struct SDLExportOptions { /* private fields */ }
Expand description
Options for SDL export
Implementations§
source§impl 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§
source§impl Clone for SDLExportOptions
impl Clone for SDLExportOptions
source§fn clone(&self) -> SDLExportOptions
fn clone(&self) -> SDLExportOptions
Returns a copy 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 SDLExportOptions
impl Debug for SDLExportOptions
source§impl Default for SDLExportOptions
impl Default for SDLExportOptions
source§fn default() -> SDLExportOptions
fn default() -> SDLExportOptions
Returns the “default value” for a type. Read more