pub struct IntermediateArgument {
pub name: String,
pub arg_type: String,
pub nullable: bool,
pub default: Option<Value>,
pub deprecated: Option<IntermediateDeprecation>,
}Expand description
Argument definition in intermediate format
Fields§
§name: StringArgument name
arg_type: StringArgument type name
Language-agnostic: Uses “type”, not “arg_type”
nullable: boolIs argument optional?
default: Option<Value>Default value (JSON)
deprecated: Option<IntermediateDeprecation>Deprecation info (from @deprecated directive)
Trait Implementations§
Source§impl Clone for IntermediateArgument
impl Clone for IntermediateArgument
Source§fn clone(&self) -> IntermediateArgument
fn clone(&self) -> IntermediateArgument
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 IntermediateArgument
impl Debug for IntermediateArgument
Source§impl<'de> Deserialize<'de> for IntermediateArgument
impl<'de> Deserialize<'de> for IntermediateArgument
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 IntermediateArgument
impl PartialEq for IntermediateArgument
Source§impl Serialize for IntermediateArgument
impl Serialize for IntermediateArgument
impl Eq for IntermediateArgument
impl StructuralPartialEq for IntermediateArgument
Auto Trait Implementations§
impl Freeze for IntermediateArgument
impl RefUnwindSafe for IntermediateArgument
impl Send for IntermediateArgument
impl Sync for IntermediateArgument
impl Unpin for IntermediateArgument
impl UnwindSafe for IntermediateArgument
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§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.