pub struct Through {
pub table: TableName,
pub left_key: ColumnName,
pub right_key: ColumnName,
}Expand description
A junction table linking two sides of a many-to-many relation.
Fields§
§table: TableName§left_key: ColumnName§right_key: ColumnNameTrait Implementations§
Source§impl<'de> Deserialize<'de> for Through
impl<'de> Deserialize<'de> for Through
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
Auto Trait Implementations§
impl Freeze for Through
impl RefUnwindSafe for Through
impl Send for Through
impl Sync for Through
impl Unpin for Through
impl UnsafeUnpin for Through
impl UnwindSafe for Through
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