pub struct Linking {
pub id: EntityId,
pub name: Option<String>,
pub types: Vec<TypeName>,
pub participants: Vec<(FieldName, Vec<EntityId>)>,
}Expand description
An entity that links to another.
Fields§
§id: EntityIdThe entity, or of entities merged together, the one they were merged into.
name: Option<String>The name to show for it, if it has one.
types: Vec<TypeName>Its types.
participants: Vec<(FieldName, Vec<EntityId>)>Of a relationship, which links through a role: the participants of its other roles on the day, by role, ordered by the role’s name.
Trait Implementations§
impl Eq for Linking
impl StructuralPartialEq for Linking
Auto Trait Implementations§
impl Forget for Linking
impl Freeze for Linking
impl Move for Linking
impl RefUnwindSafe for Linking
impl Send for Linking
impl Sync for Linking
impl Unpin for Linking
impl UnsafeUnpin for Linking
impl UnwindSafe for Linking
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.