pub struct ObjectField {
pub name: String,
pub description: String,
pub field_type: FieldType,
}Expand description
Fields§
§name: StringThe field name.
description: StringA human-readable description of the field.
field_type: FieldTypeThe type of this field.
Trait Implementations§
Source§impl Clone for ObjectField
impl Clone for ObjectField
Source§fn clone(&self) -> ObjectField
fn clone(&self) -> ObjectField
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ObjectField
impl Debug for ObjectField
Source§impl<'de> Deserialize<'de> for ObjectField
impl<'de> Deserialize<'de> for ObjectField
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 ObjectField
impl PartialEq for ObjectField
Source§impl Serialize for ObjectField
impl Serialize for ObjectField
impl StructuralPartialEq for ObjectField
Auto Trait Implementations§
impl Freeze for ObjectField
impl RefUnwindSafe for ObjectField
impl Send for ObjectField
impl Sync for ObjectField
impl Unpin for ObjectField
impl UnsafeUnpin for ObjectField
impl UnwindSafe for ObjectField
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