pub struct ListValue<'a> {
pub children: Vec<'a, Value<'a>>,
}
Expand description
AST Node for a List of values.
Lists in GraphQL are ordered sequences and serialize to JSON arrays. Its contents may be any arbitrary value literal or variable. Reference
Fields§
§children: Vec<'a, Value<'a>>
Implementations§
Trait Implementations§
Source§impl<'a> IntoIterator for ListValue<'a>
impl<'a> IntoIterator for ListValue<'a>
Source§impl<'a> ValueFromNode<'a> for ListValue<'a>
impl<'a> ValueFromNode<'a> for ListValue<'a>
impl<'a> StructuralPartialEq for ListValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for ListValue<'a>
impl<'a> !RefUnwindSafe for ListValue<'a>
impl<'a> !Send for ListValue<'a>
impl<'a> !Sync for ListValue<'a>
impl<'a> Unpin for ListValue<'a>
impl<'a> !UnwindSafe for ListValue<'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