pub struct ForeignKeyRef {
pub target_table: &'static str,
pub source_columns: &'static [&'static str],
pub target_columns: &'static [&'static str],
}Expand description
Foreign key reference as a const Copy struct.
Fields§
§target_table: &'static str§source_columns: &'static [&'static str]§target_columns: &'static [&'static str]Trait Implementations§
Source§impl Clone for ForeignKeyRef
impl Clone for ForeignKeyRef
Source§fn clone(&self) -> ForeignKeyRef
fn clone(&self) -> ForeignKeyRef
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 ForeignKeyRef
impl Debug for ForeignKeyRef
Source§impl PartialEq for ForeignKeyRef
impl PartialEq for ForeignKeyRef
Source§fn eq(&self, other: &ForeignKeyRef) -> bool
fn eq(&self, other: &ForeignKeyRef) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ForeignKeyRef
impl Eq for ForeignKeyRef
impl StructuralPartialEq for ForeignKeyRef
Auto Trait Implementations§
impl Freeze for ForeignKeyRef
impl RefUnwindSafe for ForeignKeyRef
impl Send for ForeignKeyRef
impl Sync for ForeignKeyRef
impl Unpin for ForeignKeyRef
impl UnsafeUnpin for ForeignKeyRef
impl UnwindSafe for ForeignKeyRef
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