pub struct ObjectTypeField {
pub name: String,
pub optional: bool,
pub type_annotation: TypeAnnotation,
pub annotations: Vec<Annotation>,
}Fields§
§name: String§optional: bool§type_annotation: TypeAnnotation§annotations: Vec<Annotation>Field annotations (e.g. @alias("wire name"))
Trait Implementations§
Source§impl Clone for ObjectTypeField
impl Clone for ObjectTypeField
Source§fn clone(&self) -> ObjectTypeField
fn clone(&self) -> ObjectTypeField
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 ObjectTypeField
impl Debug for ObjectTypeField
Source§impl<'de> Deserialize<'de> for ObjectTypeField
impl<'de> Deserialize<'de> for ObjectTypeField
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 ObjectTypeField
impl PartialEq for ObjectTypeField
Source§impl Serialize for ObjectTypeField
impl Serialize for ObjectTypeField
impl StructuralPartialEq for ObjectTypeField
Auto Trait Implementations§
impl Freeze for ObjectTypeField
impl RefUnwindSafe for ObjectTypeField
impl Send for ObjectTypeField
impl Sync for ObjectTypeField
impl Unpin for ObjectTypeField
impl UnsafeUnpin for ObjectTypeField
impl UnwindSafe for ObjectTypeField
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