pub struct HasMany {
pub target: ModelId,
pub expr_ty: Type,
pub singular: Name,
pub pair: FieldId,
}Fields§
§target: ModelIdAssociated model
expr_ty: TypeThe association’s expression type. This is the type the field evaluates to from a user’s point of view.
singular: NameSingular item name
pair: FieldIdThe BelongsTo association that pairs with this
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HasMany
impl RefUnwindSafe for HasMany
impl Send for HasMany
impl Sync for HasMany
impl Unpin for HasMany
impl UnwindSafe for HasMany
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