Enum nom_sql::ColumnConstraint [−][src]
pub enum ColumnConstraint {
NotNull,
CharacterSet(String),
Collation(String),
DefaultValue(Literal),
AutoIncrement,
PrimaryKey,
Unique,
}Variants
NotNullCharacterSet(String)Collation(String)DefaultValue(Literal)AutoIncrementPrimaryKeyUnique
Trait Implementations
impl Clone for ColumnConstraint[src]
impl Clone for ColumnConstraintfn clone(&self) -> ColumnConstraint[src]
fn clone(&self) -> ColumnConstraintReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for ColumnConstraint[src]
impl Debug for ColumnConstraintfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for ColumnConstraint[src]
impl Eq for ColumnConstraintimpl Hash for ColumnConstraint[src]
impl Hash for ColumnConstraintfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0
[src]Feeds a slice of this type into the given [Hasher]. Read more
impl PartialEq for ColumnConstraint[src]
impl PartialEq for ColumnConstraintfn eq(&self, other: &ColumnConstraint) -> bool[src]
fn eq(&self, other: &ColumnConstraint) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &ColumnConstraint) -> bool[src]
fn ne(&self, other: &ColumnConstraint) -> boolThis method tests for !=.
impl Display for ColumnConstraint[src]
impl Display for ColumnConstraintAuto Trait Implementations
impl Send for ColumnConstraint
impl Send for ColumnConstraintimpl Sync for ColumnConstraint
impl Sync for ColumnConstraint