Struct ForeignKeysInfo
#[non_exhaustive]pub struct ForeignKeysInfo {
pub id: i64,
pub seq: i64,
pub table: String,
pub from: Vec<String>,
pub to: Vec<String>,
pub on_update: ForeignKeyAction,
pub on_delete: ForeignKeyAction,
pub match: MatchAction,
}Expand description
Indexes the foreign keys
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: i64§seq: i64§table: String§from: Vec<String>§to: Vec<String>§on_update: ForeignKeyAction§on_delete: ForeignKeyAction§match: MatchActionTrait Implementations§
§impl Clone for ForeignKeysInfo
impl Clone for ForeignKeysInfo
§fn clone(&self) -> ForeignKeysInfo
fn clone(&self) -> ForeignKeysInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for ForeignKeysInfo
impl Debug for ForeignKeysInfo
§impl Default for ForeignKeysInfo
impl Default for ForeignKeysInfo
§fn default() -> ForeignKeysInfo
fn default() -> ForeignKeysInfo
Returns the “default value” for a type. Read more
§impl From<SqlxRow> for ForeignKeysInfo
Available on non-crate feature sqlx-sqlite only.
impl From<SqlxRow> for ForeignKeysInfo
Available on non-crate feature
sqlx-sqlite only.§impl PartialEq for ForeignKeysInfo
impl PartialEq for ForeignKeysInfo
impl StructuralPartialEq for ForeignKeysInfo
Auto Trait Implementations§
impl Freeze for ForeignKeysInfo
impl RefUnwindSafe for ForeignKeysInfo
impl Send for ForeignKeysInfo
impl Sync for ForeignKeysInfo
impl Unpin for ForeignKeysInfo
impl UnwindSafe for ForeignKeysInfo
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