pub struct RelationPair {
pub parent_model: String,
pub parent_field: String,
pub child_model: String,
pub child_field: String,
pub is_required: bool,
}Fields§
§parent_model: String§parent_field: String§child_model: String§child_field: String§is_required: boolTrait Implementations§
Source§impl Clone for RelationPair
impl Clone for RelationPair
Source§fn clone(&self) -> RelationPair
fn clone(&self) -> RelationPair
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RelationPair
impl Debug for RelationPair
Source§impl PartialEq for RelationPair
impl PartialEq for RelationPair
impl StructuralPartialEq for RelationPair
Auto Trait Implementations§
impl Freeze for RelationPair
impl RefUnwindSafe for RelationPair
impl Send for RelationPair
impl Sync for RelationPair
impl Unpin for RelationPair
impl UnsafeUnpin for RelationPair
impl UnwindSafe for RelationPair
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