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
sourceimpl Debug for ScalarTypeDef
impl Debug for ScalarTypeDef
sourceimpl From<ScalarTypeDef> for ScalarDefinition
impl From<ScalarTypeDef> for ScalarDefinition
sourcefn 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
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