pub struct SnapshotBatch<'a> {
pub workspace: &'a WorkspaceRecord,
pub snapshot_id: &'a str,
pub nodes: &'a [Node],
pub edges: &'a [Edge],
pub evidence: &'a [Evidence],
pub fingerprints: &'a [ArtifactFingerprint],
pub extractor_batches: &'a [StoredExtractorBatch],
pub extractor_runs: &'a [ExtractorRun],
pub manual_links: &'a [ManualLinkRecord],
pub community_snapshot: Option<&'a CommunitySnapshot>,
}Expand description
Immutable inputs published as one atomic snapshot transaction.
Fields§
§workspace: &'a WorkspaceRecordValidated workspace registry.
snapshot_id: &'a strStable snapshot identifier.
nodes: &'a [Node]Complete graph node set.
edges: &'a [Edge]Complete graph edge set.
evidence: &'a [Evidence]Complete evidence set.
fingerprints: &'a [ArtifactFingerprint]Current extractor-relevant artifact fingerprints.
extractor_batches: &'a [StoredExtractorBatch]Reusable source-owned extractor outputs.
extractor_runs: &'a [ExtractorRun]Extractor execution metrics.
manual_links: &'a [ManualLinkRecord]Source-free manual link declarations for this exact snapshot.
community_snapshot: Option<&'a CommunitySnapshot>Optional community analysis for this exact graph snapshot.
Trait Implementations§
Source§impl<'a> Clone for SnapshotBatch<'a>
impl<'a> Clone for SnapshotBatch<'a>
Source§fn clone(&self) -> SnapshotBatch<'a>
fn clone(&self) -> SnapshotBatch<'a>
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 moreimpl<'a> Copy for SnapshotBatch<'a>
Auto Trait Implementations§
impl<'a> Freeze for SnapshotBatch<'a>
impl<'a> RefUnwindSafe for SnapshotBatch<'a>
impl<'a> Send for SnapshotBatch<'a>
impl<'a> Sync for SnapshotBatch<'a>
impl<'a> Unpin for SnapshotBatch<'a>
impl<'a> UnsafeUnpin for SnapshotBatch<'a>
impl<'a> UnwindSafe for SnapshotBatch<'a>
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