pub struct DumpProfile {
pub depth: ProfileDepth,
pub schema: PortableSchema,
pub tables: Vec<TableEvidence>,
pub warnings: Vec<Diagnostic>,
}Expand description
Top-level profile of a whole dump.
Fields§
§depth: ProfileDepthHow deep the profiler was asked to look.
schema: PortableSchemaThe dump’s DDL schema, captured in the same single pass that gathered the value evidence. A portable, dialect-neutral snapshot so consumers (inference) never have to re-read the dump to recover its schema.
tables: Vec<TableEvidence>Per-table evidence, in discovery order.
warnings: Vec<Diagnostic>Structured diagnostics raised while profiling (e.g.
GEN-PROFILE-SCHEMA-LATE when data preceded its table’s DDL by more than
the retained sample). Empty on a clean, schema-before-data dump.
Trait Implementations§
Source§impl Clone for DumpProfile
impl Clone for DumpProfile
Source§fn clone(&self) -> DumpProfile
fn clone(&self) -> DumpProfile
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 DumpProfile
impl Debug for DumpProfile
Source§impl<'de> Deserialize<'de> for DumpProfile
impl<'de> Deserialize<'de> for DumpProfile
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
Source§impl PartialEq for DumpProfile
impl PartialEq for DumpProfile
Source§impl Serialize for DumpProfile
impl Serialize for DumpProfile
impl StructuralPartialEq for DumpProfile
Auto Trait Implementations§
impl Freeze for DumpProfile
impl RefUnwindSafe for DumpProfile
impl Send for DumpProfile
impl Sync for DumpProfile
impl Unpin for DumpProfile
impl UnsafeUnpin for DumpProfile
impl UnwindSafe for DumpProfile
Blanket Implementations§
impl<T> Allocation for T
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<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