pub struct Argument<'a> {
pub name: &'a str,
pub value: Value<'a>,
}
Expand description
AST Node for an Argument, which carries a name and a value.
Arguments in GraphQL are unordered lists of inputs to a field’s or directive’s arguments. Reference
Fields§
§name: &'a str
§value: Value<'a>
Trait Implementations§
impl<'a> StructuralPartialEq for Argument<'a>
Auto Trait Implementations§
impl<'a> Freeze for Argument<'a>
impl<'a> !RefUnwindSafe for Argument<'a>
impl<'a> !Send for Argument<'a>
impl<'a> !Sync for Argument<'a>
impl<'a> Unpin for Argument<'a>
impl<'a> !UnwindSafe for Argument<'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