pub struct IntermediateInputObject {
pub name: String,
pub fields: Vec<IntermediateInputField>,
pub description: Option<String>,
}Expand description
GraphQL input object type definition in intermediate format.
Input objects are used for complex query arguments like filters, ordering, and mutation inputs.
§Example JSON
{
"name": "UserFilter",
"fields": [
{"name": "name", "type": "String", "nullable": true},
{"name": "email", "type": "String", "nullable": true},
{"name": "active", "type": "Boolean", "nullable": true, "default": true}
],
"description": "Filter criteria for users"
}Fields§
§name: StringInput object type name (e.g., “UserFilter”)
fields: Vec<IntermediateInputField>Input fields
description: Option<String>Input type description (from docstring)
Trait Implementations§
Source§impl Clone for IntermediateInputObject
impl Clone for IntermediateInputObject
Source§fn clone(&self) -> IntermediateInputObject
fn clone(&self) -> IntermediateInputObject
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 IntermediateInputObject
impl Debug for IntermediateInputObject
Source§impl<'de> Deserialize<'de> for IntermediateInputObject
impl<'de> Deserialize<'de> for IntermediateInputObject
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 IntermediateInputObject
impl PartialEq for IntermediateInputObject
Source§impl Serialize for IntermediateInputObject
impl Serialize for IntermediateInputObject
impl Eq for IntermediateInputObject
impl StructuralPartialEq for IntermediateInputObject
Auto Trait Implementations§
impl Freeze for IntermediateInputObject
impl RefUnwindSafe for IntermediateInputObject
impl Send for IntermediateInputObject
impl Sync for IntermediateInputObject
impl Unpin for IntermediateInputObject
impl UnwindSafe for IntermediateInputObject
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.