pub enum ResolvedFieldType {
Scalar(ScalarType),
Enum {
enum_name: String,
},
Relation(RelationIr),
CompositeType {
type_name: String,
},
}Expand description
Resolved field type after validation.
Variants§
Scalar(ScalarType)
A scalar type (String, Int, etc.).
Enum
An enum type with the enum’s logical name.
Relation(RelationIr)
A relation to another model.
CompositeType
A composite type (embedded struct).
Trait Implementations§
Source§impl Clone for ResolvedFieldType
impl Clone for ResolvedFieldType
Source§fn clone(&self) -> ResolvedFieldType
fn clone(&self) -> ResolvedFieldType
Returns a duplicate 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 ResolvedFieldType
impl Debug for ResolvedFieldType
Source§impl PartialEq for ResolvedFieldType
impl PartialEq for ResolvedFieldType
impl StructuralPartialEq for ResolvedFieldType
Auto Trait Implementations§
impl Freeze for ResolvedFieldType
impl RefUnwindSafe for ResolvedFieldType
impl Send for ResolvedFieldType
impl Sync for ResolvedFieldType
impl Unpin for ResolvedFieldType
impl UnsafeUnpin for ResolvedFieldType
impl UnwindSafe for ResolvedFieldType
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