pub enum SchemaFactId {
Type(TypeId),
Sub(SubFactId),
Value(ValueFactId),
Owns(OwnsFactId),
Relates(RelatesFactId),
Plays(PlaysFactId),
Annotation(AnnotationFactId),
Function(FunctionId),
Struct(StructId),
}Expand description
Stable identity of any Phase 2 schema fact.
Variants§
Type(TypeId)
Type existence.
Sub(SubFactId)
Direct subtype edge.
Value(ValueFactId)
Attribute scalar domain.
Owns(OwnsFactId)
Direct ownership.
Relates(RelatesFactId)
Direct related role.
Plays(PlaysFactId)
Direct role playing.
Annotation(AnnotationFactId)
Independent annotation.
Function(FunctionId)
Function declaration.
Struct(StructId)
Struct declaration.
Trait Implementations§
Source§impl Clone for SchemaFactId
impl Clone for SchemaFactId
Source§fn clone(&self) -> SchemaFactId
fn clone(&self) -> SchemaFactId
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 SchemaFactId
impl Debug for SchemaFactId
impl Eq for SchemaFactId
Source§impl Hash for SchemaFactId
impl Hash for SchemaFactId
Source§impl Ord for SchemaFactId
impl Ord for SchemaFactId
Source§fn cmp(&self, other: &SchemaFactId) -> Ordering
fn cmp(&self, other: &SchemaFactId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for SchemaFactId
impl PartialEq for SchemaFactId
Source§impl PartialOrd for SchemaFactId
impl PartialOrd for SchemaFactId
Source§impl Serialize for SchemaFactId
impl Serialize for SchemaFactId
impl StructuralPartialEq for SchemaFactId
Auto Trait Implementations§
impl Freeze for SchemaFactId
impl RefUnwindSafe for SchemaFactId
impl Send for SchemaFactId
impl Sync for SchemaFactId
impl Unpin for SchemaFactId
impl UnsafeUnpin for SchemaFactId
impl UnwindSafe for SchemaFactId
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