pub struct ApiSchemaOptions {
pub graphql_validation: bool,
}
Expand description
Options for generating the API schema.
Fields§
§graphql_validation: bool
Whether to validate the GraphQL input string.
Trait Implementations§
Source§impl Clone for ApiSchemaOptions
impl Clone for ApiSchemaOptions
Source§fn clone(&self) -> ApiSchemaOptions
fn clone(&self) -> ApiSchemaOptions
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 ApiSchemaOptions
impl Debug for ApiSchemaOptions
Source§impl<'de> Deserialize<'de> for ApiSchemaOptions
impl<'de> Deserialize<'de> for ApiSchemaOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApiSchemaOptions
impl RefUnwindSafe for ApiSchemaOptions
impl Send for ApiSchemaOptions
impl Sync for ApiSchemaOptions
impl Unpin for ApiSchemaOptions
impl UnwindSafe for ApiSchemaOptions
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