pub enum GraphQlType {
Id,
String {
required: bool,
derived_from: bool,
},
Bytes {
required: bool,
derived_from: bool,
},
Boolean {
required: bool,
derived_from: bool,
},
BigInt {
required: bool,
derived_from: bool,
},
Int {
required: bool,
derived_from: bool,
},
Array {
required: bool,
derived_from: bool,
internal_type: Box<GraphQlType>,
},
Relation {
required: bool,
derived_from: bool,
},
}Expand description
An enum that models graphql types and if they are required
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for GraphQlType
impl Clone for GraphQlType
Source§fn clone(&self) -> GraphQlType
fn clone(&self) -> GraphQlType
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 moreAuto Trait Implementations§
impl Freeze for GraphQlType
impl RefUnwindSafe for GraphQlType
impl Send for GraphQlType
impl Sync for GraphQlType
impl Unpin for GraphQlType
impl UnwindSafe for GraphQlType
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