Enum restq::ast::ddl::ColumnAttribute
source · pub enum ColumnAttribute {
Primary,
Unique,
Index,
}
Variants§
Trait Implementations§
source§impl Clone for ColumnAttribute
impl Clone for ColumnAttribute
source§fn clone(&self) -> ColumnAttribute
fn clone(&self) -> ColumnAttribute
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 ColumnAttribute
impl Debug for ColumnAttribute
source§impl<'de> Deserialize<'de> for ColumnAttribute
impl<'de> Deserialize<'de> for ColumnAttribute
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for ColumnAttribute
impl Display for ColumnAttribute
source§impl Hash for ColumnAttribute
impl Hash for ColumnAttribute
source§impl PartialEq for ColumnAttribute
impl PartialEq for ColumnAttribute
source§fn eq(&self, other: &ColumnAttribute) -> bool
fn eq(&self, other: &ColumnAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ColumnAttribute
impl Serialize for ColumnAttribute
impl Eq for ColumnAttribute
impl StructuralPartialEq for ColumnAttribute
Auto Trait Implementations§
impl Freeze for ColumnAttribute
impl RefUnwindSafe for ColumnAttribute
impl Send for ColumnAttribute
impl Sync for ColumnAttribute
impl Unpin for ColumnAttribute
impl UnwindSafe for ColumnAttribute
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