pub struct PrimaryKeyMetadata {
pub name: Option<&'static str>,
pub columns: &'static [&'static str],
}Expand description
Primary key metadata for an entity.
Fields§
§name: Option<&'static str>§columns: &'static [&'static str]Implementations§
Trait Implementations§
Source§impl Clone for PrimaryKeyMetadata
impl Clone for PrimaryKeyMetadata
Source§fn clone(&self) -> PrimaryKeyMetadata
fn clone(&self) -> PrimaryKeyMetadata
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 PrimaryKeyMetadata
impl Debug for PrimaryKeyMetadata
Source§impl PartialEq for PrimaryKeyMetadata
impl PartialEq for PrimaryKeyMetadata
Source§fn eq(&self, other: &PrimaryKeyMetadata) -> bool
fn eq(&self, other: &PrimaryKeyMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PrimaryKeyMetadata
impl Eq for PrimaryKeyMetadata
impl StructuralPartialEq for PrimaryKeyMetadata
Auto Trait Implementations§
impl Freeze for PrimaryKeyMetadata
impl RefUnwindSafe for PrimaryKeyMetadata
impl Send for PrimaryKeyMetadata
impl Sync for PrimaryKeyMetadata
impl Unpin for PrimaryKeyMetadata
impl UnsafeUnpin for PrimaryKeyMetadata
impl UnwindSafe for PrimaryKeyMetadata
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