pub struct SoftwareStatementInput {Show 16 fields
pub subject_id: String,
pub predicate: SoftwarePredicate,
pub object_id: Option<String>,
pub object_value: Option<String>,
pub source_scope: String,
pub source_kind: SoftwareSourceKind,
pub evidence_refs: Vec<SoftwareEvidenceRef>,
pub assertion_mode: SoftwareAssertionMode,
pub resolution_state: SoftwareStatementResolution,
pub valid_from: Option<u64>,
pub valid_to: Option<u64>,
pub observed_at: Option<u64>,
pub extractor_id: String,
pub extractor_version: String,
pub confidence_basis_points: u16,
pub fact_state: SoftwareFactState,
}Expand description
Candidate input for SoftwareStatement.
Fields§
§subject_id: String§predicate: SoftwarePredicate§object_id: Option<String>§object_value: Option<String>§source_scope: String§source_kind: SoftwareSourceKind§evidence_refs: Vec<SoftwareEvidenceRef>§assertion_mode: SoftwareAssertionMode§resolution_state: SoftwareStatementResolution§valid_from: Option<u64>§valid_to: Option<u64>§observed_at: Option<u64>§extractor_id: String§extractor_version: String§confidence_basis_points: u16§fact_state: SoftwareFactStateTrait Implementations§
Source§impl Clone for SoftwareStatementInput
impl Clone for SoftwareStatementInput
Source§fn clone(&self) -> SoftwareStatementInput
fn clone(&self) -> SoftwareStatementInput
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 SoftwareStatementInput
impl Debug for SoftwareStatementInput
impl Eq for SoftwareStatementInput
Source§impl PartialEq for SoftwareStatementInput
impl PartialEq for SoftwareStatementInput
impl StructuralPartialEq for SoftwareStatementInput
Auto Trait Implementations§
impl Freeze for SoftwareStatementInput
impl RefUnwindSafe for SoftwareStatementInput
impl Send for SoftwareStatementInput
impl Sync for SoftwareStatementInput
impl Unpin for SoftwareStatementInput
impl UnsafeUnpin for SoftwareStatementInput
impl UnwindSafe for SoftwareStatementInput
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.