Skip to main content

seat

Function seat 

Source
pub fn seat(ident: &Ident) -> String
Expand description

The SEAT one member takes in the @oneOf input object — media for Media, videoClip for VideoClip.

async-graphql’s own OneofObject default (rename_fields = "camelCase" over the variant), spelled here because no derive of that library’s can be reached: the face is hand-emitted, so the word it publishes has to be written.

Free rather than a method on UnionMember, for the reason word is: a front end refusing a variant it did not accept still has to be able to name the seat that variant would have had.

Two variants cannot collide here without colliding at word first. Both are joins of the same case-split word list, so one snake spelling is one lower-camel spelling, and the METHOD collision the shared member walk already refuses covers this face too.