pub struct Unique {
pub name: String,
pub columns: Vec<String>,
}
Available on crate features
postgres
and def
only.Expand description
That each set of values for these columns must be unique across the whole table
Fieldsยง
ยงname: String
ยงcolumns: Vec<String>
Implementationsยง
Trait Implementationsยง
impl StructuralPartialEq for Unique
Auto Trait Implementationsยง
impl Freeze for Unique
impl RefUnwindSafe for Unique
impl Send for Unique
impl Sync for Unique
impl Unpin for Unique
impl UnwindSafe for Unique
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