#[repr(u8)]pub enum SubstrateKind {
Note = 0,
Entity = 1,
Event = 2,
}Expand description
The 3 substrate types in khive OSS.
- Note: temporal-referential records (observations, insights, decisions)
- Entity: graph nodes with properties and typed links
- Event: universal system log — every verb execution produces one
Variants§
Implementations§
Source§impl SubstrateKind
impl SubstrateKind
Trait Implementations§
Source§impl Clone for SubstrateKind
impl Clone for SubstrateKind
impl Copy for SubstrateKind
Source§impl Debug for SubstrateKind
impl Debug for SubstrateKind
Source§impl Display for SubstrateKind
impl Display for SubstrateKind
impl Eq for SubstrateKind
Source§impl FromStr for SubstrateKind
impl FromStr for SubstrateKind
Source§impl Hash for SubstrateKind
impl Hash for SubstrateKind
Source§impl Ord for SubstrateKind
impl Ord for SubstrateKind
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 SubstrateKind
impl PartialEq for SubstrateKind
Source§impl PartialOrd for SubstrateKind
impl PartialOrd for SubstrateKind
impl StructuralPartialEq for SubstrateKind
Auto Trait Implementations§
impl Freeze for SubstrateKind
impl RefUnwindSafe for SubstrateKind
impl Send for SubstrateKind
impl Sync for SubstrateKind
impl Unpin for SubstrateKind
impl UnsafeUnpin for SubstrateKind
impl UnwindSafe for SubstrateKind
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