pub struct PackReport {
pub model: String,
pub out_path: String,
pub organs_packed: usize,
pub total_10d_bytes: usize,
pub bundle_bytes: usize,
pub curated_not_found: Vec<String>,
pub failed: Vec<(String, String)>,
pub packed_keys: Vec<String>,
pub q42_graph_bytes: usize,
pub q42_quins: usize,
pub q42_sidecar_path: String,
}Expand description
The result of building a pack — honest about what packed and what curated organ was not found/failed.
Fields§
§model: String§out_path: String§organs_packed: usize§total_10d_bytes: usize§bundle_bytes: usize§curated_not_found: Vec<String>Curated tokens that were requested but not discovered for this model.
failed: Vec<(String, String)>(filename, error) for organs that failed to fetch or compile.
packed_keys: Vec<String>Organ keys packed, in order.
q42_graph_bytes: usizeSize in bytes of the pack-level .q42 provenance/semantics graph (carried in the
bundle as body.q42 and written beside the bundle as a linkable sidecar).
q42_quins: usizeNumber of quins (facts) in the pack .q42 graph.
q42_sidecar_path: StringPath the .q42 sidecar was written to.
Trait Implementations§
Source§impl Clone for PackReport
impl Clone for PackReport
Source§fn clone(&self) -> PackReport
fn clone(&self) -> PackReport
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 PackReport
impl Debug for PackReport
Auto Trait Implementations§
impl Freeze for PackReport
impl RefUnwindSafe for PackReport
impl Send for PackReport
impl Sync for PackReport
impl Unpin for PackReport
impl UnsafeUnpin for PackReport
impl UnwindSafe for PackReport
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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