pub struct DirectiveDefinition {
pub loc: Option<Location>,
pub description: Option<StringValue>,
pub name: Name,
pub arguments: Option<Vec<InputValueDefinition>>,
pub locations: Vec<Name>,
}
Fields§
§loc: Option<Location>
§description: Option<StringValue>
§name: Name
§arguments: Option<Vec<InputValueDefinition>>
§locations: Vec<Name>
Trait Implementations§
Source§impl Debug for DirectiveDefinition
impl Debug for DirectiveDefinition
Source§impl<'de> Deserialize<'de> for DirectiveDefinition
impl<'de> Deserialize<'de> for DirectiveDefinition
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
Source§impl PartialEq for DirectiveDefinition
impl PartialEq for DirectiveDefinition
Source§impl Serialize for DirectiveDefinition
impl Serialize for DirectiveDefinition
impl StructuralPartialEq for DirectiveDefinition
Auto Trait Implementations§
impl Freeze for DirectiveDefinition
impl RefUnwindSafe for DirectiveDefinition
impl Send for DirectiveDefinition
impl Sync for DirectiveDefinition
impl Unpin for DirectiveDefinition
impl UnwindSafe for DirectiveDefinition
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