pub struct ForeignKeyState {
pub target_table: String,
pub target_column: String,
pub on_delete: OnDelete,
}Expand description
Foreign-key target stored on a field snapshot.
Fields§
§target_table: StringReferenced table.
target_column: StringReferenced column (the target’s primary key).
on_delete: OnDeleteON DELETE policy.
Trait Implementations§
Source§impl Clone for ForeignKeyState
impl Clone for ForeignKeyState
Source§fn clone(&self) -> ForeignKeyState
fn clone(&self) -> ForeignKeyState
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 ForeignKeyState
impl Debug for ForeignKeyState
Source§impl<'de> Deserialize<'de> for ForeignKeyState
impl<'de> Deserialize<'de> for ForeignKeyState
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 ForeignKeyState
Source§impl PartialEq for ForeignKeyState
impl PartialEq for ForeignKeyState
Source§impl Serialize for ForeignKeyState
impl Serialize for ForeignKeyState
impl StructuralPartialEq for ForeignKeyState
Auto Trait Implementations§
impl Freeze for ForeignKeyState
impl RefUnwindSafe for ForeignKeyState
impl Send for ForeignKeyState
impl Sync for ForeignKeyState
impl Unpin for ForeignKeyState
impl UnsafeUnpin for ForeignKeyState
impl UnwindSafe for ForeignKeyState
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.