Struct schema::InputObjectType
source · pub struct InputObjectType<'a> {
pub identifier: Identifier,
pub constraints: InputObjectTypeConstraints<'a>,
/* private fields */
}
Fields§
§identifier: Identifier
§constraints: InputObjectTypeConstraints<'a>
Implementations§
source§impl<'a> InputObjectType<'a>
impl<'a> InputObjectType<'a>
pub fn get_fields(&self) -> &[InputField<'a>]
pub fn tag(&self) -> Option<&ObjectTag<'a>>
pub fn find_field(&self, name: &str) -> Option<&InputField<'a>>
Trait Implementations§
source§impl<'a> Clone for InputObjectType<'a>
impl<'a> Clone for InputObjectType<'a>
source§fn clone(&self) -> InputObjectType<'a>
fn clone(&self) -> InputObjectType<'a>
Returns a copy 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 InputObjectType<'_>
impl Debug for InputObjectType<'_>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for InputObjectType<'a>
impl<'a> Send for InputObjectType<'a>
impl<'a> Sync for InputObjectType<'a>
impl<'a> Unpin for InputObjectType<'a>
impl<'a> !UnwindSafe for InputObjectType<'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