pub struct RelMeta {
pub id: RelKindId,
pub display_name: SmolStr,
pub bucket: RelBucket,
pub inverse: Option<RelKindId>,
pub bidirectional: bool,
pub default_strength: f32,
pub computed_only: bool,
}Expand description
Metadata a pack attaches to every registered kind.
Fields§
§id: RelKindIdInterned id for the kind.
display_name: SmolStrStable display name; doubles as the Cypher label (R-T2).
bucket: RelBucketBucket the kind belongs to.
inverse: Option<RelKindId>The auto-registered inverse companion kind, if any (R-T4).
bidirectional: boolWhether the kind is symmetric/bidirectional.
default_strength: f32Strength applied when an EdgeHint omits strength.
computed_only: boolR-T14 (audit W6): kinds produced exclusively by backend computation (Dreams). The ingest boundary rejects producer assertions of these; the marker lives HERE, in the ontology, not as a string literal in a consumer crate.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RelMeta
impl<'de> Deserialize<'de> for RelMeta
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
Auto Trait Implementations§
impl Freeze for RelMeta
impl RefUnwindSafe for RelMeta
impl Send for RelMeta
impl Sync for RelMeta
impl Unpin for RelMeta
impl UnsafeUnpin for RelMeta
impl UnwindSafe for RelMeta
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