pub struct RelationDefinition {
pub name: String,
pub relation_type: RelationType,
pub target_entity: String,
pub fk_column: Option<String>,
pub optional: bool,
}Fields§
§name: String§relation_type: RelationType§target_entity: String§fk_column: Option<String>§optional: boolTrait Implementations§
Source§impl Clone for RelationDefinition
impl Clone for RelationDefinition
Source§fn clone(&self) -> RelationDefinition
fn clone(&self) -> RelationDefinition
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RelationDefinition
impl Debug for RelationDefinition
Auto Trait Implementations§
impl Freeze for RelationDefinition
impl RefUnwindSafe for RelationDefinition
impl Send for RelationDefinition
impl Sync for RelationDefinition
impl Unpin for RelationDefinition
impl UnsafeUnpin for RelationDefinition
impl UnwindSafe for RelationDefinition
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