Struct async_graphql::types::StringNumber[][src]

pub struct StringNumber<T: Num + Display>(pub T);
This is supported on crate feature string_number only.

A numeric value represented by a string.

Trait Implementations

impl<T: Clone + Num + Display> Clone for StringNumber<T>[src]

impl<T: Debug + Num + Display> Debug for StringNumber<T>[src]

impl<'de, T: Num + Display> Deserialize<'de> for StringNumber<T> where
    T: Deserialize<'de>, 
[src]

impl<T: Eq + Num + Display> Eq for StringNumber<T>[src]

impl<T: Hash + Num + Display> Hash for StringNumber<T>[src]

impl<T: Num + Display + Send + Sync> InputType for StringNumber<T> where
    <T as Num>::FromStrRadixErr: Display
[src]

impl<T: Ord + Num + Display> Ord for StringNumber<T>[src]

impl<T: Num + Display + Send + Sync> OutputType for StringNumber<T> where
    <T as Num>::FromStrRadixErr: Display
[src]

impl<T: PartialEq + Num + Display> PartialEq<StringNumber<T>> for StringNumber<T>[src]

impl<T: PartialOrd + Num + Display> PartialOrd<StringNumber<T>> for StringNumber<T>[src]

impl<T: Num + Display + Send + Sync> ScalarType for StringNumber<T> where
    <T as Num>::FromStrRadixErr: Display
[src]

impl<T: Num + Display> Serialize for StringNumber<T> where
    T: Serialize
[src]

impl<T: Num + Display> StructuralEq for StringNumber<T>[src]

impl<T: Num + Display> StructuralPartialEq for StringNumber<T>[src]

impl<T: Num + Display + Send + Sync> Type for StringNumber<T> where
    <T as Num>::FromStrRadixErr: Display
[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for StringNumber<T> where
    T: RefUnwindSafe

impl<T> Send for StringNumber<T> where
    T: Send

impl<T> Sync for StringNumber<T> where
    T: Sync

impl<T> Unpin for StringNumber<T> where
    T: Unpin

impl<T> UnwindSafe for StringNumber<T> where
    T: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CallHasher for T where
    T: Hash

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> FutureExt for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]