pub struct RelationshipConfig {
pub field_name: String,
pub target_entity: String,
pub relationship_type: String,
}Expand description
Relationship configuration
Fields§
§field_name: StringField name in the source entity that contains the reference
target_entity: StringTarget entity type
relationship_type: StringRelationship type
Trait Implementations§
Source§impl Clone for RelationshipConfig
impl Clone for RelationshipConfig
Source§fn clone(&self) -> RelationshipConfig
fn clone(&self) -> RelationshipConfig
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 RelationshipConfig
impl Debug for RelationshipConfig
Source§impl<'de> Deserialize<'de> for RelationshipConfig
impl<'de> Deserialize<'de> for RelationshipConfig
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 RelationshipConfig
impl RefUnwindSafe for RelationshipConfig
impl Send for RelationshipConfig
impl Sync for RelationshipConfig
impl Unpin for RelationshipConfig
impl UnwindSafe for RelationshipConfig
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