pub struct NullWarden<S: SchemaDefinition>(/* private fields */);Trait Implementations§
Source§impl<S: SchemaDefinition> Default for NullWarden<S>
impl<S: SchemaDefinition> Default for NullWarden<S>
Source§impl<S: SchemaDefinition> Warden for NullWarden<S>
impl<S: SchemaDefinition> Warden for NullWarden<S>
type SchemaDefinition = S
type TypeDefinitionsForName<'a> = IntoIter<TypeDefinitionReference<'a, <S as SchemaDefinition>::TypeDefinition>> where Self: 'a
fn is_field_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::FieldDefinition, ) -> bool
fn is_input_value_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::InputValueDefinition, ) -> bool
fn is_enum_value_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::EnumValueDefinition, ) -> bool
fn is_union_member_type_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::UnionMemberType, ) -> bool
fn is_interface_implementation_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::InterfaceImplementation, ) -> bool
fn is_directive_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::DirectiveDefinition, ) -> bool
fn is_custom_scalar_type_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::CustomScalarTypeDefinition, ) -> bool
fn is_enum_type_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::EnumTypeDefinition, ) -> bool
fn is_input_object_type_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::InputObjectTypeDefinition, ) -> bool
fn is_interface_type_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::InterfaceTypeDefinition, ) -> bool
fn is_object_type_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::ObjectTypeDefinition, ) -> bool
fn is_union_type_definition_visible( &self, _: &<Self::SchemaDefinition as SchemaDefinition>::UnionTypeDefinition, ) -> bool
fn type_definitions_for_name<'a>( &self, schema_definition: &'a Self::SchemaDefinition, type_name: &str, ) -> Self::TypeDefinitionsForName<'a>
fn input_value_definition_default_value<'a>( &self, scoped_input_value_definition: &InputValueDefinition<'a, Self::SchemaDefinition, Self>, ) -> Option<&'a <<Self::SchemaDefinition as SchemaDefinition>::InputValueDefinition as InputValueDefinition>::Value>
fn directive_arguments<'a>( &self, scoped_directive: &Directive<'a, Self::SchemaDefinition, Self>, ) -> Option<&'a <<Self::SchemaDefinition as SchemaDefinition>::Directive as Directive<true>>::Arguments>
fn custom_scalar_definition_coerce_input<const CONST: bool>( &self, custom_scalar_type_definition: &<Self::SchemaDefinition as SchemaDefinition>::CustomScalarTypeDefinition, value: &impl Value<CONST>, ) -> Result<(), Cow<'static, str>>
fn object_type_definitions_equal( &self, first: &<Self::SchemaDefinition as SchemaDefinition>::ObjectTypeDefinition, second: &<Self::SchemaDefinition as SchemaDefinition>::ObjectTypeDefinition, ) -> bool
fn scalar_type_definitions_equal( &self, first: &<Self::SchemaDefinition as SchemaDefinition>::CustomScalarTypeDefinition, second: &<Self::SchemaDefinition as SchemaDefinition>::CustomScalarTypeDefinition, ) -> bool
fn enum_type_definitions_equal( &self, first: &<Self::SchemaDefinition as SchemaDefinition>::EnumTypeDefinition, second: &<Self::SchemaDefinition as SchemaDefinition>::EnumTypeDefinition, ) -> bool
fn input_object_type_definitions_equal( &self, first: &<Self::SchemaDefinition as SchemaDefinition>::InputObjectTypeDefinition, second: &<Self::SchemaDefinition as SchemaDefinition>::InputObjectTypeDefinition, ) -> bool
fn interface_type_definitions_equal( &self, first: &<Self::SchemaDefinition as SchemaDefinition>::InterfaceTypeDefinition, second: &<Self::SchemaDefinition as SchemaDefinition>::InterfaceTypeDefinition, ) -> bool
fn union_type_definitions_equal( &self, first: &<Self::SchemaDefinition as SchemaDefinition>::UnionTypeDefinition, second: &<Self::SchemaDefinition as SchemaDefinition>::UnionTypeDefinition, ) -> bool
Auto Trait Implementations§
impl<S> Freeze for NullWarden<S>
impl<S> RefUnwindSafe for NullWarden<S>where
S: RefUnwindSafe,
impl<S> Send for NullWarden<S>where
S: Send,
impl<S> Sync for NullWarden<S>where
S: Sync,
impl<S> Unpin for NullWarden<S>where
S: Unpin,
impl<S> UnwindSafe for NullWarden<S>where
S: UnwindSafe,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more