pub struct GraphRule {
pub id: i64,
pub anchor_entity_id: i64,
pub summary: String,
pub trigger_hint: Option<String>,
pub confidence: f64,
pub created_at: i64,
}Expand description
A distilled rule row stored in graph_rules (HL-F4).
Fields§
§id: i64Auto-increment primary key.
anchor_entity_id: i64Entity that anchors this rule.
summary: StringDistilled summary text.
trigger_hint: Option<String>Optional retrieval hint.
confidence: f64LLM-reported confidence.
created_at: i64Unix epoch seconds when the rule was created.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GraphRule
impl RefUnwindSafe for GraphRule
impl Send for GraphRule
impl Sync for GraphRule
impl Unpin for GraphRule
impl UnsafeUnpin for GraphRule
impl UnwindSafe for GraphRule
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request