pub struct EntityRelationDescription {
pub field: String,
pub target_path: String,
pub target_entity_name: String,
pub target_store_path: String,
pub strength: EntityRelationStrength,
pub cardinality: EntityRelationCardinality,
}Expand description
EntityRelationDescription
One relation-field projection inside EntitySchemaDescription.
Captures relation target identity plus strength/cardinality metadata.
Fields§
§field: String§target_path: String§target_entity_name: String§target_store_path: String§strength: EntityRelationStrength§cardinality: EntityRelationCardinalityTrait Implementations§
Source§impl Clone for EntityRelationDescription
impl Clone for EntityRelationDescription
Source§fn clone(&self) -> EntityRelationDescription
fn clone(&self) -> EntityRelationDescription
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 EntityRelationDescription
impl Debug for EntityRelationDescription
Source§impl<'de> Deserialize<'de> for EntityRelationDescription
impl<'de> Deserialize<'de> for EntityRelationDescription
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
impl Eq for EntityRelationDescription
impl StructuralPartialEq for EntityRelationDescription
Auto Trait Implementations§
impl Freeze for EntityRelationDescription
impl RefUnwindSafe for EntityRelationDescription
impl Send for EntityRelationDescription
impl Sync for EntityRelationDescription
impl Unpin for EntityRelationDescription
impl UnsafeUnpin for EntityRelationDescription
impl UnwindSafe for EntityRelationDescription
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