pub struct ManyToManyRelation {
pub model1: String,
pub field1: String,
pub model2: String,
pub field2: String,
}Expand description
Represents a many-to-many relationship between two models
Fields§
§model1: String§field1: String§model2: String§field2: StringTrait Implementations§
Source§impl Clone for ManyToManyRelation
impl Clone for ManyToManyRelation
Source§fn clone(&self) -> ManyToManyRelation
fn clone(&self) -> ManyToManyRelation
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 ManyToManyRelation
impl Debug for ManyToManyRelation
Source§impl PartialEq for ManyToManyRelation
impl PartialEq for ManyToManyRelation
impl StructuralPartialEq for ManyToManyRelation
Auto Trait Implementations§
impl Freeze for ManyToManyRelation
impl RefUnwindSafe for ManyToManyRelation
impl Send for ManyToManyRelation
impl Sync for ManyToManyRelation
impl Unpin for ManyToManyRelation
impl UnsafeUnpin for ManyToManyRelation
impl UnwindSafe for ManyToManyRelation
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