pub struct AssociativeEntity {
pub id: AssociativeEntityId,
pub relationship: RelationshipId,
pub name: String,
}Expand description
An associative entity wraps a relationship so that it can itself
participate in further relationships (brModelo’s EntidadeAssociativa).
Fields§
§id: AssociativeEntityIdUnique handle within the owning model.
relationship: RelationshipIdThe relationship that this associative entity wraps.
name: StringDisplay name; defaults to the wrapped relationship’s name.
Trait Implementations§
Source§impl Clone for AssociativeEntity
impl Clone for AssociativeEntity
Source§fn clone(&self) -> AssociativeEntity
fn clone(&self) -> AssociativeEntity
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 AssociativeEntity
impl Debug for AssociativeEntity
Source§impl<'de> Deserialize<'de> for AssociativeEntity
impl<'de> Deserialize<'de> for AssociativeEntity
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 AssociativeEntity
impl PartialEq for AssociativeEntity
Source§impl Serialize for AssociativeEntity
impl Serialize for AssociativeEntity
impl StructuralPartialEq for AssociativeEntity
Auto Trait Implementations§
impl Freeze for AssociativeEntity
impl RefUnwindSafe for AssociativeEntity
impl Send for AssociativeEntity
impl Sync for AssociativeEntity
impl Unpin for AssociativeEntity
impl UnsafeUnpin for AssociativeEntity
impl UnwindSafe for AssociativeEntity
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