pub struct RelationDef {
pub model: String,
pub rel_type: String,
pub local_field: String,
pub foreign_field: String,
pub read: Option<Vec<String>>,
}Fields§
§model: String§rel_type: String§local_field: String§foreign_field: String§read: Option<Vec<String>>Trait Implementations§
Source§impl Clone for RelationDef
impl Clone for RelationDef
Auto Trait Implementations§
impl Freeze for RelationDef
impl RefUnwindSafe for RelationDef
impl Send for RelationDef
impl Sync for RelationDef
impl Unpin for RelationDef
impl UnsafeUnpin for RelationDef
impl UnwindSafe for RelationDef
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