pub struct ComposedModel {
pub subject: Ident,
pub krate: Path,
pub sdl: RustSafeName,
pub shorthand: bool,
pub fields: Vec<ComposedField>,
}Expand description
A hand-written FILTER STRUCT, as the composed mode reads it.
Fields§
§subject: IdentThe struct the face is OF — and, being the filter itself, the type every emitted impl names.
krate: PathThe ingraph root the expansion spells its shelf through.
sdl: RustSafeNameThe input object’s name in the schema — the subject’s own, or whatever
filter(rename = "…") moved it to.
shorthand: boolWhether rule ① reaches this face — composed(shorthand = …), and true when the declaration
said nothing.
fields: Vec<ComposedField>The fields, IN DECLARATION ORDER, which is the order the SDL prints them in: async-graphql renders an input object’s fields in the order the registry received them.
Implementations§
Source§impl ComposedModel
impl ComposedModel
Sourcepub fn emit(&self) -> TokenStream
pub fn emit(&self) -> TokenStream
The whole composed mode, emitted.
The emptiness answer is OUTSIDE the binding gate and the three wire faces are inside it, which is the split the slot seam is built along: is anything set is the same question on every backend and a build with no binding still has lowerings that ask it.