pub struct IntrospectionDirective<'a> {
pub name: &'a str,
pub description: Option<&'a str>,
pub is_repeatable: bool,
pub locations: Vec<IntrospectionDirectiveLocation>,
pub args: Vec<IntrospectionInputValue<'a>>,
}
Fields§
§name: &'a str
§description: Option<&'a str>
§is_repeatable: bool
§locations: Vec<IntrospectionDirectiveLocation>
§args: Vec<IntrospectionInputValue<'a>>
Trait Implementations§
Source§impl<'a> Debug for IntrospectionDirective<'a>
impl<'a> Debug for IntrospectionDirective<'a>
Source§impl<'de: 'a, 'a> Deserialize<'de> for IntrospectionDirective<'a>
impl<'de: 'a, 'a> Deserialize<'de> for IntrospectionDirective<'a>
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<'a> Freeze for IntrospectionDirective<'a>
impl<'a> RefUnwindSafe for IntrospectionDirective<'a>
impl<'a> Send for IntrospectionDirective<'a>
impl<'a> Sync for IntrospectionDirective<'a>
impl<'a> Unpin for IntrospectionDirective<'a>
impl<'a> UnwindSafe for IntrospectionDirective<'a>
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