pub struct Through {
pub table: TableName,
pub left_key: ColumnName,
pub right_key: ColumnName,
pub filters: Option<Vec<Filter>>,
}Expand description
A junction table linking two sides of a many-to-many relation.
Fields§
§table: TableName§left_key: ColumnName§right_key: ColumnName§filters: Option<Vec<Filter>>Conditions on the junction rows themselves (e.g. skip cancelled order
lines), as opposed to the relation’s own filters on the target table.
Trait 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 Forget for Through
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