Struct graphql_tools::static_graphql::query::Number
source · [−]pub struct Number(_);
Expand description
This represents integer number
But since there is no definition on limit of number in spec
(only in implemetation), we do a trick similar to the one
in serde_json
: encapsulate value in new-type, allowing type
to be extended later.
Implementations
Trait Implementations
impl StructuralPartialEq for Number
Auto Trait Implementations
impl RefUnwindSafe for Number
impl Send for Number
impl Sync for Number
impl Unpin for Number
impl UnwindSafe for Number
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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