Trait async_graphql::InputType [−][src]
Represents a GraphQL input value.
Required methods
fn parse(value: Option<Value>) -> InputValueResult<Self>
[src]
Parse from Value
. None represents undefined.
fn to_value(&self) -> Value
[src]
Convert to a Value
for introspection.
Implementations on Foreign Types
impl<T: InputType> InputType for Box<T>
[src]
fn parse(value: Option<ConstValue>) -> InputValueResult<Self>
[src]
fn to_value(&self) -> ConstValue
[src]
impl<T: InputType> InputType for Arc<T>
[src]
fn parse(value: Option<ConstValue>) -> InputValueResult<Self>
[src]
fn to_value(&self) -> ConstValue
[src]
impl InputType for bool
[src]
impl InputType for char
[src]
impl InputType for f32
[src]
impl InputType for f64
[src]
impl InputType for i8
[src]
impl InputType for i16
[src]
impl InputType for i32
[src]
impl InputType for i64
[src]
impl InputType for u8
[src]
impl InputType for u16
[src]
impl InputType for u32
[src]
impl InputType for u64
[src]
impl InputType for usize
[src]
impl InputType for isize
[src]
impl<T> InputType for BTreeMap<String, T> where
T: OutputType + InputType,
[src]
T: OutputType + InputType,
impl<T> InputType for HashMap<String, T> where
T: OutputType + InputType,
[src]
T: OutputType + InputType,
impl<T: InputType + Ord> InputType for BTreeSet<T>
[src]
impl<T: InputType + Hash + Eq> InputType for HashSet<T>
[src]
impl<T: InputType> InputType for LinkedList<T>
[src]
impl<T: InputType> InputType for Vec<T>
[src]
impl<T: InputType> InputType for VecDeque<T>
[src]
impl InputType for NonZeroI8
[src]
impl InputType for NonZeroI16
[src]
impl InputType for NonZeroI32
[src]
impl InputType for NonZeroI64
[src]
impl InputType for NonZeroU8
[src]
impl InputType for NonZeroU16
[src]
impl InputType for NonZeroU32
[src]
impl InputType for NonZeroU64
[src]
impl<T: InputType> InputType for Option<T>
[src]
impl InputType for String
[src]
impl InputType for ObjectId
[src]
impl InputType for UtcDateTime
[src]
impl InputType for DateTime<FixedOffset>
[src]
impl InputType for DateTime<Local>
[src]
impl InputType for DateTime<Utc>
[src]
impl InputType for NaiveDate
[src]
impl InputType for NaiveTime
[src]
impl InputType for NaiveDateTime
[src]
impl InputType for Url
[src]
impl InputType for Uuid
[src]
Loading content...Implementors
impl InputType for Any
[src]
impl InputType for ID
[src]
impl InputType for Upload
[src]
impl<T: InputType> InputType for MaybeUndefined<T>
[src]
impl<T: Num + Display + Send + Sync> InputType for StringNumber<T> where
<T as Num>::FromStrRadixErr: Display,
[src]
<T as Num>::FromStrRadixErr: Display,