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
Performs the conversion.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more