pub struct UniqueConstraint {
pub fields: Vec<String>,
}Expand description
A unique constraint.
Fields§
§fields: Vec<String>Trait Implementations§
Source§impl Clone for UniqueConstraint
impl Clone for UniqueConstraint
Source§fn clone(&self) -> UniqueConstraint
fn clone(&self) -> UniqueConstraint
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for UniqueConstraint
impl RefUnwindSafe for UniqueConstraint
impl Send for UniqueConstraint
impl Sync for UniqueConstraint
impl Unpin for UniqueConstraint
impl UnsafeUnpin for UniqueConstraint
impl UnwindSafe for UniqueConstraint
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