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