pub struct IntrospectionField {
pub name: String,
pub description: Option<String>,
pub args: Vec<IntrospectionInputValue>,
pub field_type: IntrospectionType,
pub is_deprecated: bool,
pub deprecation_reason: Option<String>,
}Expand description
__Field introspection type.
Fields§
§name: StringField name.
description: Option<String>Field description.
args: Vec<IntrospectionInputValue>Field arguments.
field_type: IntrospectionTypeField return type.
is_deprecated: boolWhether the field is deprecated.
deprecation_reason: Option<String>Deprecation reason (if deprecated).
Trait Implementations§
Source§impl Clone for IntrospectionField
impl Clone for IntrospectionField
Source§fn clone(&self) -> IntrospectionField
fn clone(&self) -> IntrospectionField
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 IntrospectionField
impl Debug for IntrospectionField
Source§impl<'de> Deserialize<'de> for IntrospectionField
impl<'de> Deserialize<'de> for IntrospectionField
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 IntrospectionField
impl RefUnwindSafe for IntrospectionField
impl Send for IntrospectionField
impl Sync for IntrospectionField
impl Unpin for IntrospectionField
impl UnsafeUnpin for IntrospectionField
impl UnwindSafe for IntrospectionField
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