pub struct IngestReport {
pub contract_version: u32,
pub node_ids: Vec<String>,
pub agent_count: usize,
pub community_count: usize,
pub extraction_count: usize,
pub industry_count: usize,
pub skipped_edges: Vec<String>,
pub bloc_defaulted: usize,
pub lane_defaulted: bool,
pub repression_defaulted: bool,
pub tension_source: TensionSource,
pub h3_cells: Vec<Option<u64>>,
}Available on crate feature
raster only.Expand description
Provenance and every default applied while ingesting one Hypergraph:
what was read, what was defaulted, and how a rendered node maps back to
the caller’s own string id.
Fields§
§contract_version: u32§node_ids: Vec<String>Dense render-space index -> original Hypergraph node id.
agent_count: usize§community_count: usize§extraction_count: usize§industry_count: usize§skipped_edges: Vec<String>Edge ids whose kind was missing or unrecognised.
bloc_defaulted: usize§lane_defaulted: bool§repression_defaulted: bool§tension_source: TensionSource§h3_cells: Vec<Option<u64>>Parallel to node_ids.
Trait Implementations§
Source§impl Clone for IngestReport
impl Clone for IngestReport
Source§impl Debug for IngestReport
impl Debug for IngestReport
Source§impl PartialEq for IngestReport
impl PartialEq for IngestReport
impl StructuralPartialEq for IngestReport
Auto Trait Implementations§
impl Forget for IngestReport
impl Freeze for IngestReport
impl Move for IngestReport
impl RefUnwindSafe for IngestReport
impl Send for IngestReportwhere
RawVecInner: Send,
impl Sync for IngestReportwhere
RawVecInner: Sync,
impl Unpin for IngestReport
impl UnsafeUnpin for IngestReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<Option<u64>>: UnsafeUnpin,
impl UnwindSafe for IngestReportwhere
RawVecInner: UnwindSafe,
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,
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 moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§unsafe fn to_subset_unchecked(&self) -> SS
unsafe fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.