pub struct DelegateSkin {
pub kind: GraphqlKind,
pub rename: Option<LitStr>,
}Expand description
ONE backend’s publication of one delegated method.
rename is the whole of v1’s knob, and it moves a STRING and nothing else: what a rename touches
is the word a client writes — a match arm and a registry entry where the face is hand-emitted, a
#[graphql(name = "…")] where it rides #[Object] — with no derived helper anywhere for it to
have to agree with.
Fields§
§kind: GraphqlKindWhich backend publishes it.
rename: Option<LitStr>rename = "…" — what a client calls this field, where the declaration moved it.
Trait Implementations§
Source§impl Clone for DelegateSkin
impl Clone for DelegateSkin
Auto Trait Implementations§
impl !Send for DelegateSkin
impl !Sync for DelegateSkin
impl Freeze for DelegateSkin
impl RefUnwindSafe for DelegateSkin
impl Unpin for DelegateSkin
impl UnsafeUnpin for DelegateSkin
impl UnwindSafe for DelegateSkin
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