Enum FieldType
pub enum FieldType {
Scalar(ScalarType),
String,
List(ScalarType),
}Expand description
The wire type of a field.
Variants§
Implementations§
§impl FieldType
impl FieldType
pub fn is_numeric(&self) -> bool
pub fn is_numeric(&self) -> bool
Whether this field carries a numeric value suitable for extrapolation.
pub fn is_opaque(&self) -> bool
pub fn is_opaque(&self) -> bool
Whether this field is delivered by exact equality rather than tolerance.
pub 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.