pub struct PivotQuery {
pub table: String,
pub parent_column: String,
pub related_column: String,
pub parent_keys: Vec<Value>,
}Expand description
A read of a pivot table: the links from these parents.
A pivot is two columns, so it needs no entity. This is the shape a repository is asked for them in.
Fields§
§table: StringThe pivot table.
parent_column: StringIts column pointing at the parent.
Its column pointing at the related model.
parent_keys: Vec<Value>The parent keys to fetch links for.
Trait Implementations§
Source§impl Clone for PivotQuery
impl Clone for PivotQuery
Auto Trait Implementations§
impl Freeze for PivotQuery
impl RefUnwindSafe for PivotQuery
impl Send for PivotQuery
impl Sync for PivotQuery
impl Unpin for PivotQuery
impl UnsafeUnpin for PivotQuery
impl UnwindSafe for PivotQuery
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,
Source§impl<T> Event for T
impl<T> Event for T
Source§fn event_name() -> &'static strwhere
Self: Sized,
fn event_name() -> &'static strwhere
Self: Sized,
A human-readable name, used by wildcard listeners and log output.
Always the Rust type path; see the trait docs.