pub struct ViaHop {
pub table: TableName,
pub foreign_key: ColumnName,
pub filters: Option<Vec<Filter>>,
pub on: Vec<ColumnPair>,
}Expand description
One table an aggregate passes through on its way to the aggregated table: a
downward foreign-key hop. foreign_key is on table and points at the
table before it (the parent, for the first hop).
Fields§
§table: TableNameThe table this hop passes through.
foreign_key: ColumnNameThe column on table pointing at the table before it.
filters: Option<Vec<Filter>>Which rows of table the path passes through.
on: Vec<ColumnPair>Extra column equalities between table and the table before it,
ANDed with foreign_key.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ViaHop
impl<'de> Deserialize<'de> for ViaHop
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 ViaHop
impl Freeze for ViaHop
impl Move for ViaHop
impl RefUnwindSafe for ViaHop
impl Send for ViaHop
impl Sync for ViaHop
impl Unpin for ViaHop
impl UnsafeUnpin for ViaHop
impl UnwindSafe for ViaHop
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