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