[][src]Struct hesoyam::Field

pub struct Field {
    pub name: &'static str,
    pub table_name: &'static str,
    pub field_type: FieldType,
    pub is_primary_key: bool,
    pub is_null: bool,
}

Fields

name: &'static strtable_name: &'static strfield_type: FieldTypeis_primary_key: boolis_null: bool

Implementations

impl Field[src]

pub fn eq<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

pub fn not_eq<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

pub fn lt<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

pub fn lte<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

pub fn gt<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

pub fn gte<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

pub fn like<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

pub fn is<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

pub fn is_not<T>(&self, value: &T) -> Condition where
    T: Clone + Any
[src]

Trait Implementations

impl Debug for Field[src]

impl Eq for Field[src]

impl From<Field> for Selectable[src]

impl Hash for Field[src]

impl PartialEq<Field> for Field[src]

Auto Trait Implementations

impl RefUnwindSafe for Field

impl Send for Field

impl Sync for Field

impl Unpin for Field

impl UnwindSafe for Field

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,