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
sourcepub fn compose_directive(self) -> Self
pub fn compose_directive(self) -> Self
Enable composeDirective
if federation is enabled
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
impl Copy for SDLExportOptions
Auto Trait Implementations§
impl Freeze for SDLExportOptions
impl RefUnwindSafe for SDLExportOptions
impl Send for SDLExportOptions
impl Sync for SDLExportOptions
impl Unpin for SDLExportOptions
impl UnwindSafe for SDLExportOptions
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
source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)