pub struct UniqueConstraintSnapshot {
pub name: String,
pub columns: Vec<String>,
}Expand description
Snapshot of a unique constraint
Fields§
§name: StringName of the constraint
columns: Vec<String>Column names that make up the unique constraint
Trait Implementations§
Source§impl Clone for UniqueConstraintSnapshot
impl Clone for UniqueConstraintSnapshot
Source§fn clone(&self) -> UniqueConstraintSnapshot
fn clone(&self) -> UniqueConstraintSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UniqueConstraintSnapshot
impl Debug for UniqueConstraintSnapshot
Source§impl<'de> Deserialize<'de> for UniqueConstraintSnapshot
impl<'de> Deserialize<'de> for UniqueConstraintSnapshot
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
impl Eq for UniqueConstraintSnapshot
Source§impl PartialEq for UniqueConstraintSnapshot
impl PartialEq for UniqueConstraintSnapshot
Source§fn eq(&self, other: &UniqueConstraintSnapshot) -> bool
fn eq(&self, other: &UniqueConstraintSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for UniqueConstraintSnapshot
impl Serialize for UniqueConstraintSnapshot
impl StructuralPartialEq for UniqueConstraintSnapshot
Auto Trait Implementations§
impl Freeze for UniqueConstraintSnapshot
impl RefUnwindSafe for UniqueConstraintSnapshot
impl Send for UniqueConstraintSnapshot
impl Sync for UniqueConstraintSnapshot
impl Unpin for UniqueConstraintSnapshot
impl UnsafeUnpin for UniqueConstraintSnapshot
impl UnwindSafe for UniqueConstraintSnapshot
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