pub enum NavigationKind {
BelongsTo,
HasOne,
HasMany,
ManyToMany,
}Expand description
Describes the type of navigation.
Variants§
BelongsTo
BelongsTo<T> — reference to a single related entity (FK on this side).
HasOne
HasOne<T> — reference to a single related entity (FK on other side).
HasMany
HasMany<T> — collection of related entities.
ManyToMany
HasMany<T, Join> — many-to-many via join entity.
Trait Implementations§
Auto Trait Implementations§
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