Enum cynic::variables::VariableType
source · pub enum VariableType {
List(&'static VariableType),
Nullable(&'static VariableType),
Named(&'static str),
}
Expand description
The type of a variable
Variants§
List(&'static VariableType)
A list of some VariableType
Nullable(&'static VariableType)
Some VariableType that may be null
Named(&'static str)
A type with the given name
Trait Implementations§
source§impl Clone for VariableType
impl Clone for VariableType
source§fn clone(&self) -> VariableType
fn clone(&self) -> VariableType
Returns a copy 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 VariableType
impl Debug for VariableType
impl Copy for VariableType
Auto Trait Implementations§
impl Freeze for VariableType
impl RefUnwindSafe for VariableType
impl Send for VariableType
impl Sync for VariableType
impl Unpin for VariableType
impl UnwindSafe for VariableType
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