Struct apollo_smith::ScalarTypeDef
source · pub struct ScalarTypeDef { /* private fields */ }
Expand description
Represents scalar types such as Int, String, and Boolean. Scalars cannot have fields.
ScalarTypeDefinition: Description? scalar Name Directives?
Detailed documentation can be found in GraphQL spec.
Trait Implementations§
source§impl Clone for ScalarTypeDef
impl Clone for ScalarTypeDef
source§fn clone(&self) -> ScalarTypeDef
fn clone(&self) -> ScalarTypeDef
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ScalarTypeDef
impl Debug for ScalarTypeDef
source§impl From<ScalarTypeDef> for ScalarDefinition
impl From<ScalarTypeDef> for ScalarDefinition
source§fn from(scalar_def: ScalarTypeDef) -> Self
fn from(scalar_def: ScalarTypeDef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ScalarTypeDef
impl Send for ScalarTypeDef
impl Sync for ScalarTypeDef
impl Unpin for ScalarTypeDef
impl UnwindSafe for ScalarTypeDef
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more