Struct sea_schema::postgres::def::PrimaryKey [−][src]
This is supported on crate features
postgres
and def
only.Expand description
A constraint stating that the given columns act as a unique identifier for rows in the table. This implies that the columns are not null and are unique together
Fields
name: String
columns: Vec<String>
Implementations
This is supported on crate feature
writer
only.Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for PrimaryKey
impl Send for PrimaryKey
impl Sync for PrimaryKey
impl Unpin for PrimaryKey
impl UnwindSafe for PrimaryKey
Blanket Implementations
Mutably borrows from an owned value. Read more