pub struct WithMany<M, R, Relation = (), Key = i64> {
pub model: M,
pub related: Vec<R>,
/* private fields */
}Expand description
A model and its eagerly loaded reverse relation.
Fields§
§model: MTrait Implementations§
Auto Trait Implementations§
impl<M, R, Relation, Key> Freeze for WithMany<M, R, Relation, Key>where
M: Freeze,
impl<M, R, Relation, Key> RefUnwindSafe for WithMany<M, R, Relation, Key>
impl<M, R, Relation, Key> Send for WithMany<M, R, Relation, Key>
impl<M, R, Relation, Key> Sync for WithMany<M, R, Relation, Key>
impl<M, R, Relation, Key> Unpin for WithMany<M, R, Relation, Key>
impl<M, R, Relation, Key> UnsafeUnpin for WithMany<M, R, Relation, Key>where
M: UnsafeUnpin,
impl<M, R, Relation, Key> UnwindSafe for WithMany<M, R, Relation, Key>
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