pub struct AuthorityInput {
pub input_type: AuthorityInputType,
pub value: String,
pub confidence: f64,
pub source_event_id: Option<String>,
}Expand description
One evidence atom consumed by a derivation. Mirrors the ADG inputs[]
schema; see docs/authority-derivation-graph.md.
Fields§
§input_type: AuthorityInputTypeCanonical input type.
value: StringObserved value (redacted per RedactingEventSink policy if applicable).
confidence: f64Coverage score for this input alone, ∈ [0, 1].
source_event_id: Option<String>Optional UUID — when this input itself was the output of a prior emission, links the chain.
Trait Implementations§
Source§impl Clone for AuthorityInput
impl Clone for AuthorityInput
Source§fn clone(&self) -> AuthorityInput
fn clone(&self) -> AuthorityInput
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 AuthorityInput
impl Debug for AuthorityInput
Source§impl<'de> Deserialize<'de> for AuthorityInput
impl<'de> Deserialize<'de> for AuthorityInput
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
Source§impl PartialEq for AuthorityInput
impl PartialEq for AuthorityInput
Source§fn eq(&self, other: &AuthorityInput) -> bool
fn eq(&self, other: &AuthorityInput) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuthorityInput
impl Serialize for AuthorityInput
impl StructuralPartialEq for AuthorityInput
Auto Trait Implementations§
impl Freeze for AuthorityInput
impl RefUnwindSafe for AuthorityInput
impl Send for AuthorityInput
impl Sync for AuthorityInput
impl Unpin for AuthorityInput
impl UnsafeUnpin for AuthorityInput
impl UnwindSafe for AuthorityInput
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