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