pub struct IncidenceRecord {
pub id: IncidenceId,
pub relation: RelationId,
pub element: ElementId,
pub role: RoleId,
}Expand description
One visible incidence in canonical database coordinates.
§Performance
Copying and comparing this record are O(1).
Fields§
§id: IncidenceIdStable incidence id.
relation: RelationIdStable relation id containing the incidence.
element: ElementIdStable element id participating in the relation.
role: RoleIdStructural role of the incidence.
Trait Implementations§
Source§impl Clone for IncidenceRecord
impl Clone for IncidenceRecord
Source§fn clone(&self) -> IncidenceRecord
fn clone(&self) -> IncidenceRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IncidenceRecord
impl Debug for IncidenceRecord
Source§impl<'de> Deserialize<'de> for IncidenceRecord
impl<'de> Deserialize<'de> for IncidenceRecord
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 IncidenceRecord
impl PartialEq for IncidenceRecord
Source§fn eq(&self, other: &IncidenceRecord) -> bool
fn eq(&self, other: &IncidenceRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for IncidenceRecord
impl Serialize for IncidenceRecord
impl Copy for IncidenceRecord
impl Eq for IncidenceRecord
impl StructuralPartialEq for IncidenceRecord
Auto Trait Implementations§
impl Freeze for IncidenceRecord
impl RefUnwindSafe for IncidenceRecord
impl Send for IncidenceRecord
impl Sync for IncidenceRecord
impl Unpin for IncidenceRecord
impl UnsafeUnpin for IncidenceRecord
impl UnwindSafe for IncidenceRecord
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