pub struct HasMany {
pub foreign_key: String,
pub child_model: String,
pub child_pk: String,
}Expand description
一对多关系配置
Fields§
§foreign_key: String§child_model: String§child_pk: StringTrait 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 UnsafeUnpin 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