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 Definition
impl From<ScalarTypeDef> for Definition
source§fn from(x: ScalarTypeDef) -> Self
fn from(x: ScalarTypeDef) -> Self
Converts to this type from the input type.
source§impl TryFrom<ScalarTypeDefinition> for ScalarTypeDef
impl TryFrom<ScalarTypeDefinition> for ScalarTypeDef
source§impl TryFrom<ScalarTypeExtension> for ScalarTypeDef
impl TryFrom<ScalarTypeExtension> for ScalarTypeDef
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