pub struct GraphQLConfig {
pub tables: GraphQLTablesConfig,
pub functions: GraphQLFunctionsConfig,
pub depth_limit: Option<u32>,
pub complexity_limit: Option<u32>,
pub introspection: GraphQLIntrospectionConfig,
}Fields§
§tables: GraphQLTablesConfig§functions: GraphQLFunctionsConfig§depth_limit: Option<u32>Maximum query nesting depth. None means no limit.
complexity_limit: Option<u32>Maximum query complexity (total number of fields). None means no limit.
introspection: GraphQLIntrospectionConfigControls whether GraphQL schema introspection is enabled.
Defaults to Auto (introspection enabled).
Implementations§
Source§impl GraphQLConfig
impl GraphQLConfig
Sourcepub fn walk_revisioned_field_names(
wire_revision: u16,
) -> &'static [&'static str]
pub fn walk_revisioned_field_names( wire_revision: u16, ) -> &'static [&'static str]
Field names at the given wire revision in declaration order.
Returns an empty slice if the revision is unknown. Generated
by the revisioned derive.
Trait Implementations§
Source§impl Clone for GraphQLConfig
impl Clone for GraphQLConfig
Source§impl Debug for GraphQLConfig
impl Debug for GraphQLConfig
Source§impl Default for GraphQLConfig
impl Default for GraphQLConfig
impl Eq for GraphQLConfig
Source§impl From<GraphQLConfig> for GraphQLConfig
impl From<GraphQLConfig> for GraphQLConfig
Source§fn from(v: GraphQLConfig) -> Self
fn from(v: GraphQLConfig) -> Self
Converts to this type from the input type.
Source§impl From<GraphQLConfig> for GraphQLConfig
impl From<GraphQLConfig> for GraphQLConfig
Source§fn from(v: GraphQLConfig) -> Self
fn from(v: GraphQLConfig) -> Self
Converts to this type from the input type.
Source§impl Hash for GraphQLConfig
impl Hash for GraphQLConfig
Source§impl InfoStructure for GraphQLConfig
impl InfoStructure for GraphQLConfig
Source§impl PartialEq for GraphQLConfig
impl PartialEq for GraphQLConfig
Source§impl Revisioned for GraphQLConfig
impl Revisioned for GraphQLConfig
Source§impl SerializeRevisioned for GraphQLConfig
impl SerializeRevisioned for GraphQLConfig
Source§impl SkipCheckRevisioned for GraphQLConfig
impl SkipCheckRevisioned for GraphQLConfig
Source§impl SkipRevisioned for GraphQLConfig
impl SkipRevisioned for GraphQLConfig
fn skip_revisioned<R: Read>(reader: &mut R) -> Result<(), Error>
Source§fn skip_revisioned_slice(reader: &mut SliceReader<'_>) -> Result<(), Error>
fn skip_revisioned_slice(reader: &mut SliceReader<'_>) -> Result<(), Error>
Consume through bytes backed by
SliceReader without allocating a buffer for bulk segments. Read moreimpl StructuralPartialEq for GraphQLConfig
Source§impl<V: Visitor> Visit<V> for GraphQLConfig
impl<V: Visitor> Visit<V> for GraphQLConfig
Source§impl<V: MutVisitor> VisitMut<V> for GraphQLConfig
impl<V: MutVisitor> VisitMut<V> for GraphQLConfig
Source§impl WalkRevisioned for GraphQLConfig
impl WalkRevisioned for GraphQLConfig
Source§type Walker<'r, R: BorrowedReader + 'r> = GraphQLConfigWalker<'r, R>
type Walker<'r, R: BorrowedReader + 'r> = GraphQLConfigWalker<'r, R>
Walker produced by
walk_revisioned. Read moreSource§fn walk_revisioned<'r, R: BorrowedReader>(
reader: &'r mut R,
) -> Result<Self::Walker<'r, R>, Error>
fn walk_revisioned<'r, R: BorrowedReader>( reader: &'r mut R, ) -> Result<Self::Walker<'r, R>, Error>
Read the type’s revision-level prefix and return a walker positioned at
the start of the body. Read more
Auto Trait Implementations§
impl Freeze for GraphQLConfig
impl RefUnwindSafe for GraphQLConfig
impl Send for GraphQLConfig
impl Sync for GraphQLConfig
impl Unpin for GraphQLConfig
impl UnsafeUnpin for GraphQLConfig
impl UnwindSafe for GraphQLConfig
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: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.