Enum juniper::DefaultScalarValue
source · Expand description
The default scalar value representation in juniper
This types closely follows the graphql specification.
Variants
Int(i32)
Float(f64)
String(String)
Boolean(bool)
Trait Implementations
sourceimpl Clone for DefaultScalarValue
impl Clone for DefaultScalarValue
sourcefn clone(&self) -> DefaultScalarValue
fn clone(&self) -> DefaultScalarValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DefaultScalarValue
impl Debug for DefaultScalarValue
sourceimpl Display for DefaultScalarValue
impl Display for DefaultScalarValue
sourceimpl<'a> From<&'a DefaultScalarValue> for Option<&'a String>
impl<'a> From<&'a DefaultScalarValue> for Option<&'a String>
sourcefn from(t: &'a DefaultScalarValue) -> Self
fn from(t: &'a DefaultScalarValue) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a DefaultScalarValue> for Option<&'a bool>
impl<'a> From<&'a DefaultScalarValue> for Option<&'a bool>
sourcefn from(t: &'a DefaultScalarValue) -> Self
fn from(t: &'a DefaultScalarValue) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a DefaultScalarValue> for Option<&'a f64>
impl<'a> From<&'a DefaultScalarValue> for Option<&'a f64>
sourcefn from(t: &'a DefaultScalarValue) -> Self
fn from(t: &'a DefaultScalarValue) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a DefaultScalarValue> for Option<&'a i32>
impl<'a> From<&'a DefaultScalarValue> for Option<&'a i32>
sourcefn from(t: &'a DefaultScalarValue) -> Self
fn from(t: &'a DefaultScalarValue) -> Self
Converts to this type from the input type.
sourceimpl<'a> From<&'a str> for DefaultScalarValue
impl<'a> From<&'a str> for DefaultScalarValue
sourceimpl From<DefaultScalarValue> for Option<String>
impl From<DefaultScalarValue> for Option<String>
sourcefn from(t: DefaultScalarValue) -> Self
fn from(t: DefaultScalarValue) -> Self
Converts to this type from the input type.
sourceimpl From<DefaultScalarValue> for Option<bool>
impl From<DefaultScalarValue> for Option<bool>
sourcefn from(t: DefaultScalarValue) -> Self
fn from(t: DefaultScalarValue) -> Self
Converts to this type from the input type.
sourceimpl From<DefaultScalarValue> for Option<f64>
impl From<DefaultScalarValue> for Option<f64>
sourcefn from(t: DefaultScalarValue) -> Self
fn from(t: DefaultScalarValue) -> Self
Converts to this type from the input type.
sourceimpl From<DefaultScalarValue> for Option<i32>
impl From<DefaultScalarValue> for Option<i32>
sourcefn from(t: DefaultScalarValue) -> Self
fn from(t: DefaultScalarValue) -> Self
Converts to this type from the input type.
sourceimpl From<String> for DefaultScalarValue
impl From<String> for DefaultScalarValue
sourceimpl From<bool> for DefaultScalarValue
impl From<bool> for DefaultScalarValue
sourceimpl From<f64> for DefaultScalarValue
impl From<f64> for DefaultScalarValue
sourceimpl From<i32> for DefaultScalarValue
impl From<i32> for DefaultScalarValue
sourceimpl PartialEq<DefaultScalarValue> for DefaultScalarValue
impl PartialEq<DefaultScalarValue> for DefaultScalarValue
sourcefn eq(&self, other: &DefaultScalarValue) -> bool
fn eq(&self, other: &DefaultScalarValue) -> bool
sourceimpl ScalarValue for DefaultScalarValue
impl ScalarValue for DefaultScalarValue
sourceimpl Serialize for DefaultScalarValue
impl Serialize for DefaultScalarValue
impl StructuralPartialEq for DefaultScalarValue
Auto Trait Implementations
impl RefUnwindSafe for DefaultScalarValue
impl Send for DefaultScalarValue
impl Sync for DefaultScalarValue
impl Unpin for DefaultScalarValue
impl UnwindSafe for DefaultScalarValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more