[][src]Struct juniper::ID

pub struct ID(_);

An ID as defined by the GraphQL specification

Represented as a string, but can be converted to from an integer as well.

Implementations

impl ID[src]

pub fn new<S: Into<String>>(value: S) -> Self[src]

Construct a new ID from anything implementing Into<String>

Trait Implementations

impl Clone for ID[src]

impl Debug for ID[src]

impl Deref for ID[src]

type Target = str

The resulting type after dereferencing.

impl<'de> Deserialize<'de> for ID[src]

impl Display for ID[src]

impl Eq for ID[src]

impl From<String> for ID[src]

impl<S> FromInputValue<S> for ID where
    S: ScalarValue
[src]

impl<S> GraphQLType<S> for ID where
    S: ScalarValue
[src]

impl<S> GraphQLValue<S> for ID where
    S: ScalarValue
[src]

type Context = ()

Context type for this GraphQLValue. Read more

type TypeInfo = ()

Type that may carry additional schema information for this GraphQLValue. Read more

impl<__S> GraphQLValueAsync<__S> for ID where
    Self: Sync,
    Self::TypeInfo: Sync,
    Self::Context: Sync,
    __S: ScalarValue + Send + Sync
[src]

impl<S> IsInputType<S> for ID where
    S: ScalarValue
[src]

impl<S> IsOutputType<S> for ID where
    S: ScalarValue
[src]

impl<S> ParseScalarValue<S> for ID where
    S: ScalarValue
[src]

impl PartialEq<ID> for ID[src]

impl Serialize for ID[src]

impl StructuralEq for ID[src]

impl StructuralPartialEq for ID[src]

impl<S> ToInputValue<S> for ID where
    S: ScalarValue
[src]

Auto Trait Implementations

impl RefUnwindSafe for ID

impl Send for ID

impl Sync for ID

impl Unpin for ID

impl UnwindSafe for ID

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> 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, U> Into<U> for T where
    U: From<T>, 
[src]

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

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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>,