pub struct DecisionHit {
pub event_id: String,
pub key: String,
pub value: String,
pub reason: String,
pub domain: String,
pub branch: String,
pub ts: String,
pub is_active: bool,
pub tags: Vec<String>,
pub village_id: Option<String>,
pub staleness: Option<DecisionStaleness>,
}Fields§
§event_id: String§key: String§value: String§reason: String§domain: String§branch: String§ts: String§is_active: boolTags parsed from JSON array in the decision row.
village_id: Option<String>Village scope identifier.
staleness: Option<DecisionStaleness>Decision-code freshness (q334 EDDA-STALENESS1). None ⇒ not checked (feature off, or repo_root missing at query time). Serialized only when present so existing JSON consumers stay unaffected.
Trait Implementations§
Source§impl Clone for DecisionHit
impl Clone for DecisionHit
Source§fn clone(&self) -> DecisionHit
fn clone(&self) -> DecisionHit
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 DecisionHit
impl Debug for DecisionHit
Auto Trait Implementations§
impl Freeze for DecisionHit
impl RefUnwindSafe for DecisionHit
impl Send for DecisionHit
impl Sync for DecisionHit
impl Unpin for DecisionHit
impl UnsafeUnpin for DecisionHit
impl UnwindSafe for DecisionHit
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