pub fn new<T>(name: Cow<'a, str>) -> Self
    where
        T: FromInputValue<S> + ParseScalarValue<S> + 'a,
    {
        ScalarMeta {
            name,
            description: None,
            try_parse_fn: try_parse_fn::<S, T>,
            parse_fn: <T as ParseScalarValue<S>>::from_str,
        }
    }
/// Build a new scalar type metadata with the specified name
Build a new scalar type metadata with the specified name
Build a new scalar type metadata with the specified name
pub fn new<T>(name: Cow<'a, str>) -> Self
    where
        T: FromInputValue<S> + ParseScalarValue<S> + 'a,
    {
        ScalarMeta {
            name,
            description: None,
            try_parse_fn: try_parse_fn::<S, T>,
            parse_fn: <T as ParseScalarValue<S>>::from_str,
        }
    }
pub fn new < T > ( name : Cow < ' a , str > ) -> Self where T : FromInputValue < S > + ParseScalarValue < S > + ' a , { ScalarMeta { name , description : None , try_parse_fn : try_parse_fn :: < S , T > , parse_fn : < T as ParseScalarValue < S > > :: from_str , } }
Build a new scalar type metadata with the specified name
Build a new scalar type metadata with the specified name
name
Cow<'a, str>
name
Cow<'a, str>