pub struct GraphQLArgument {
pub name: String,
pub arg_type: String,
pub required: bool,
pub default_value: Option<String>,
}Expand description
GraphQL argument definition
Fields§
§name: StringArgument name
arg_type: StringArgument type
required: boolWhether the argument is required
default_value: Option<String>Default value
Implementations§
Trait Implementations§
Source§impl Clone for GraphQLArgument
impl Clone for GraphQLArgument
Source§fn clone(&self) -> GraphQLArgument
fn clone(&self) -> GraphQLArgument
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 moreAuto Trait Implementations§
impl Freeze for GraphQLArgument
impl RefUnwindSafe for GraphQLArgument
impl Send for GraphQLArgument
impl Sync for GraphQLArgument
impl Unpin for GraphQLArgument
impl UnwindSafe for GraphQLArgument
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