pub struct GQLFieldArg {
pub name: String,
pub ty: GQLType,
pub default_value: Option<String>,
}Expand description
An argument to a GraphQL field.
Fields§
§name: String§ty: GQLType§default_value: Option<String>Trait Implementations§
Source§impl Clone for GQLFieldArg
impl Clone for GQLFieldArg
Source§fn clone(&self) -> GQLFieldArg
fn clone(&self) -> GQLFieldArg
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 GQLFieldArg
impl RefUnwindSafe for GQLFieldArg
impl Send for GQLFieldArg
impl Sync for GQLFieldArg
impl Unpin for GQLFieldArg
impl UnsafeUnpin for GQLFieldArg
impl UnwindSafe for GQLFieldArg
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