pub struct AnalysisFactColumns {
pub ids: Vec<u64>,
pub kinds: Vec<u16>,
pub file_ids: Vec<u32>,
pub start_bytes: Vec<u32>,
pub end_bytes: Vec<u32>,
pub subjects: Vec<u64>,
pub objects: Vec<u64>,
pub confidence_bps: Vec<u16>,
pub payload_digests: Vec<[u8; 32]>,
pub provenance_offsets: Vec<u32>,
pub provenance_ids: Vec<u64>,
}Expand description
Columnar fact representation for GPU uploads.
Fields§
§ids: Vec<u64>Fact ids.
kinds: Vec<u16>Stable FactKind tags.
file_ids: Vec<u32>File ids.
start_bytes: Vec<u32>Start byte offsets.
end_bytes: Vec<u32>End byte offsets.
subjects: Vec<u64>Subject ids.
objects: Vec<u64>Object ids, zero when absent.
confidence_bps: Vec<u16>Confidence values in basis points.
payload_digests: Vec<[u8; 32]>Payload/reason digests.
provenance_offsets: Vec<u32>Offsets into provenance_ids, one extra sentinel at the end.
provenance_ids: Vec<u64>Flattened parent fact ids.
Trait Implementations§
Source§impl Clone for AnalysisFactColumns
impl Clone for AnalysisFactColumns
Source§fn clone(&self) -> AnalysisFactColumns
fn clone(&self) -> AnalysisFactColumns
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 AnalysisFactColumns
impl Debug for AnalysisFactColumns
Source§impl Default for AnalysisFactColumns
impl Default for AnalysisFactColumns
Source§fn default() -> AnalysisFactColumns
fn default() -> AnalysisFactColumns
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AnalysisFactColumns
impl<'de> Deserialize<'de> for AnalysisFactColumns
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 AnalysisFactColumns
Source§impl PartialEq for AnalysisFactColumns
impl PartialEq for AnalysisFactColumns
Source§impl Serialize for AnalysisFactColumns
impl Serialize for AnalysisFactColumns
impl StructuralPartialEq for AnalysisFactColumns
Auto Trait Implementations§
impl Freeze for AnalysisFactColumns
impl RefUnwindSafe for AnalysisFactColumns
impl Send for AnalysisFactColumns
impl Sync for AnalysisFactColumns
impl Unpin for AnalysisFactColumns
impl UnsafeUnpin for AnalysisFactColumns
impl UnwindSafe for AnalysisFactColumns
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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 more