pub struct RelationshipIR {
pub name: String,
pub target_model: String,
pub relationship_type: RelationshipType,
pub foreign_key: String,
pub on_delete: CascadeAction,
pub on_update: CascadeAction,
}
Fields§
§name: String
§target_model: String
§relationship_type: RelationshipType
§foreign_key: String
§on_delete: CascadeAction
§on_update: CascadeAction
Trait Implementations§
Source§impl Clone for RelationshipIR
impl Clone for RelationshipIR
Source§fn clone(&self) -> RelationshipIR
fn clone(&self) -> RelationshipIR
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 RelationshipIR
impl Debug for RelationshipIR
Source§impl<'de> Deserialize<'de> for RelationshipIR
impl<'de> Deserialize<'de> for RelationshipIR
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
Source§impl PartialEq for RelationshipIR
impl PartialEq for RelationshipIR
Source§impl Serialize for RelationshipIR
impl Serialize for RelationshipIR
impl StructuralPartialEq for RelationshipIR
Auto Trait Implementations§
impl Freeze for RelationshipIR
impl RefUnwindSafe for RelationshipIR
impl Send for RelationshipIR
impl Sync for RelationshipIR
impl Unpin for RelationshipIR
impl UnwindSafe for RelationshipIR
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