pub enum RelationshipType {
OneToOne,
OneToMany,
ManyToOne,
ManyToMany,
}Expand description
Type of relationship between schemas
Variants§
OneToOne
One-to-one relationship
OneToMany
One-to-many relationship
ManyToOne
Many-to-one relationship
ManyToMany
Many-to-many relationship
Trait Implementations§
Source§impl Clone for RelationshipType
impl Clone for RelationshipType
Source§fn clone(&self) -> RelationshipType
fn clone(&self) -> RelationshipType
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 RelationshipType
impl Debug for RelationshipType
Source§impl<'de> Deserialize<'de> for RelationshipType
impl<'de> Deserialize<'de> for RelationshipType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for RelationshipType
impl RefUnwindSafe for RelationshipType
impl Send for RelationshipType
impl Sync for RelationshipType
impl Unpin for RelationshipType
impl UnwindSafe for RelationshipType
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