pub struct Kits {
pub scalar: Option<ScalarKit>,
pub input: bool,
pub output: bool,
pub marker: Option<ElementFamily>,
pub filter: bool,
pub cursor: bool,
pub databases: Vec<DatabaseKind>,
}Expand description
Every kit a declaration opted into.
PLAIN, for ElementModel’s reason — public fields, no
constructor, no validation. What is checked is checked at the FRONT END, where the tokens an
author wrote are still in hand and a refusal can point at one.
Fields§
§scalar: Option<ScalarKit>graphql(async_graphql(scalar(…))) — the type’s own GraphQL scalar.
input: boolgraphql(async_graphql(input)) — [ToGraphqlInput].
output: boolgraphql(async_graphql(output)) — [ToGraphqlOutput].
marker: Option<ElementFamily>marker(<family>) — the interpretation a FIELD of this type is read under.
filter: boolfilter — the family’s filter, reached through a reading this device mints.
cursor: boolcursor — [CursorValue], a keyset position.
databases: Vec<DatabaseKind>sqlite / postgres / mysql — the dialects this type is a column in.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !Send for Kits
impl !Sync for Kits
impl Freeze for Kits
impl RefUnwindSafe for Kits
impl Unpin for Kits
impl UnsafeUnpin for Kits
impl UnwindSafe for Kits
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