pub struct SqlForeignKeyMetadata {
pub table_name: String,
pub column_names: Vec<String>,
pub referenced_table_name: String,
pub delete_action: Option<String>,
pub line: usize,
}Expand description
One foreign key from CREATE TABLE or ALTER TABLE.
Fields§
§table_name: String§column_names: Vec<String>§referenced_table_name: String§delete_action: Option<String>§line: usizeTrait Implementations§
Source§impl Clone for SqlForeignKeyMetadata
impl Clone for SqlForeignKeyMetadata
Source§fn clone(&self) -> SqlForeignKeyMetadata
fn clone(&self) -> SqlForeignKeyMetadata
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 SqlForeignKeyMetadata
impl Debug for SqlForeignKeyMetadata
impl Eq for SqlForeignKeyMetadata
Source§impl PartialEq for SqlForeignKeyMetadata
impl PartialEq for SqlForeignKeyMetadata
impl StructuralPartialEq for SqlForeignKeyMetadata
Auto Trait Implementations§
impl Forget for SqlForeignKeyMetadata
impl Freeze for SqlForeignKeyMetadata
impl Move for SqlForeignKeyMetadata
impl RefUnwindSafe for SqlForeignKeyMetadata
impl Send for SqlForeignKeyMetadatawhere
RawVecInner: Send,
impl Sync for SqlForeignKeyMetadatawhere
RawVecInner: Sync,
impl Unpin for SqlForeignKeyMetadata
impl UnsafeUnpin for SqlForeignKeyMetadatawhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for SqlForeignKeyMetadatawhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more