Struct Include
pub struct Include {
pub path: Path,
pub query: Option<Query>,
}Expand description
An association preload entry on a Returning::Model clause.
Fields§
§path: PathThe relation path to preload.
query: Option<Query>Query applied to the related rows, if the include is constrained.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Include
Auto Trait Implementations§
impl Freeze for Include
impl RefUnwindSafe for Include
impl Send for Include
impl Sync for Include
impl Unpin for Include
impl UnsafeUnpin for Include
impl UnwindSafe for Include
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