pub enum FieldType {
Scalar(ScalarType),
String,
List(ScalarType),
}Expand description
The wire type of a field.
Variants§
Implementations§
Source§impl FieldType
impl FieldType
Sourcepub fn is_numeric(&self) -> bool
pub fn is_numeric(&self) -> bool
Whether this field carries a numeric value suitable for extrapolation.
Sourcepub fn is_opaque(&self) -> bool
pub fn is_opaque(&self) -> bool
Whether this field is delivered by exact equality rather than tolerance.
Sourcepub fn requires_max_len(&self) -> bool
pub fn requires_max_len(&self) -> bool
Whether this type requires max_len.
Trait Implementations§
impl Eq for FieldType
impl StructuralPartialEq for FieldType
Auto Trait Implementations§
impl Freeze for FieldType
impl RefUnwindSafe for FieldType
impl Send for FieldType
impl Sync for FieldType
impl Unpin for FieldType
impl UnsafeUnpin for FieldType
impl UnwindSafe for FieldType
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