pub enum AttributeOwner {
Entity(EntityId),
Relationship(RelationshipId),
}Expand description
Owner reference passed to ConceptualModel::add_attribute.
Variants§
Entity(EntityId)
Attach the attribute to an entity.
Relationship(RelationshipId)
Attach the attribute to a relationship (descriptive attribute).
Trait Implementations§
Source§impl Clone for AttributeOwner
impl Clone for AttributeOwner
Source§fn clone(&self) -> AttributeOwner
fn clone(&self) -> AttributeOwner
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 AttributeOwner
impl Debug for AttributeOwner
impl Copy for AttributeOwner
Auto Trait Implementations§
impl Freeze for AttributeOwner
impl RefUnwindSafe for AttributeOwner
impl Send for AttributeOwner
impl Sync for AttributeOwner
impl Unpin for AttributeOwner
impl UnsafeUnpin for AttributeOwner
impl UnwindSafe for AttributeOwner
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