Skip to main content

default_output_name

Function default_output_name 

Source
pub fn default_output_name(base: &Ident) -> Ident
Expand description

What a record’s wire output is called. ONE per record — the SDL is identical whichever Rust library serves it, so the type carries cfg-gated derives per declared backend rather than splitting into one type per backend.

<Record>GraphqlOutput rather than <Record>Output, because this type is now BOTH of what the two names used to stand for: the object a client receives AND the half of the wire face Graphql::Output binds. The carrier that held the second job was a struct …(()) with the members named on it and nothing in it; it has the members now, so a second name for one type would be the only thing left to keep.