pub trait InlineFragments<'de>: QueryFragment<'de> {
    fn deserialize_variant<D>(
        typename: &str,
        deserializer: D
    ) -> Result<Self, D::Error>
    where
        D: Deserializer<'de>
; }
Expand description

A QueryFragment that contains a set of inline fragments

This should be derived on an enum with newtype variants where each inner type is a QueryFragment for an appropriate type.

Required Methods§

Attempts to deserialize a variant with the given typename.

Implementors§