pub struct IngestEvent {
pub id: String,
pub event_type: String,
pub entity_labels: Vec<String>,
pub occurred_at: Option<String>,
pub evidence_ids: Vec<String>,
pub confidence: Option<ConfidenceScore>,
pub status: Option<FactStatus>,
pub version_range: Option<GraphVersionRange>,
}Expand description
Structured event supplied to the ingest API.
Fields§
§id: String§event_type: String§entity_labels: Vec<String>§occurred_at: Option<String>§evidence_ids: Vec<String>§confidence: Option<ConfidenceScore>§status: Option<FactStatus>§version_range: Option<GraphVersionRange>Trait Implementations§
Source§impl Clone for IngestEvent
impl Clone for IngestEvent
Source§fn clone(&self) -> IngestEvent
fn clone(&self) -> IngestEvent
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 IngestEvent
impl Debug for IngestEvent
Source§impl<'de> Deserialize<'de> for IngestEvent
impl<'de> Deserialize<'de> for IngestEvent
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
impl Eq for IngestEvent
Source§impl PartialEq for IngestEvent
impl PartialEq for IngestEvent
Source§impl Serialize for IngestEvent
impl Serialize for IngestEvent
impl StructuralPartialEq for IngestEvent
Auto Trait Implementations§
impl Freeze for IngestEvent
impl RefUnwindSafe for IngestEvent
impl Send for IngestEvent
impl Sync for IngestEvent
impl Unpin for IngestEvent
impl UnsafeUnpin for IngestEvent
impl UnwindSafe for IngestEvent
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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§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.