pub struct FieldSummary {
pub name: String,
pub type_name: String,
pub required: bool,
pub indexed: bool,
}Expand description
One field of a TableEntry.
Fields§
§name: StringField name.
type_name: StringGraphQL type as declared (String, Int, Float, MyEnum,
possibly with ! non-null marker stripped).
required: booltrue iff the field is non-null in the schema (had a trailing !).
indexed: booltrue iff the field carries an @indexed (or @primary /
@vector) directive.
Trait Implementations§
Source§impl Clone for FieldSummary
impl Clone for FieldSummary
Source§fn clone(&self) -> FieldSummary
fn clone(&self) -> FieldSummary
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 FieldSummary
impl Debug for FieldSummary
Source§impl<'de> Deserialize<'de> for FieldSummary
impl<'de> Deserialize<'de> for FieldSummary
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
Auto Trait Implementations§
impl Freeze for FieldSummary
impl RefUnwindSafe for FieldSummary
impl Send for FieldSummary
impl Sync for FieldSummary
impl Unpin for FieldSummary
impl UnsafeUnpin for FieldSummary
impl UnwindSafe for FieldSummary
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