pub struct IncludePath {
pub navigation: String,
pub nested: Vec<IncludePath>,
pub related_table: Option<String>,
pub foreign_key_column: Option<String>,
pub referenced_key_column: Option<String>,
}Expand description
An eager-load include specification.
Fields§
§nested: Vec<IncludePath>Nested ThenInclude paths (tree).
The related table name for JOIN generation.
foreign_key_column: Option<String>The foreign key column for the JOIN condition.
referenced_key_column: Option<String>The referenced key column (typically primary key of the related table).
Trait Implementations§
Source§impl Clone for IncludePath
impl Clone for IncludePath
Source§fn clone(&self) -> IncludePath
fn clone(&self) -> IncludePath
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 moreAuto Trait Implementations§
impl Freeze for IncludePath
impl RefUnwindSafe for IncludePath
impl Send for IncludePath
impl Sync for IncludePath
impl Unpin for IncludePath
impl UnsafeUnpin for IncludePath
impl UnwindSafe for IncludePath
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