pub struct TableProfileResponse {
pub columns: Vec<ColumnProfileInfo>,
pub connection: String,
pub row_count: i32,
pub schema: String,
pub synced_at: Option<Option<String>>,
pub table: String,
}Expand description
TableProfileResponse : Column-level statistics for a synced table. Profiles are computed at sync time and include per-column cardinality, null counts, and type-specific details.
Fields§
§columns: Vec<ColumnProfileInfo>Per-column profile statistics
connection: StringConnection name
row_count: i32Total number of rows in the table
schema: StringSchema name
synced_at: Option<Option<String>>When the table was last synced
table: StringTable name
Implementations§
Source§impl TableProfileResponse
impl TableProfileResponse
Sourcepub fn new(
columns: Vec<ColumnProfileInfo>,
connection: String,
row_count: i32,
schema: String,
table: String,
) -> TableProfileResponse
pub fn new( columns: Vec<ColumnProfileInfo>, connection: String, row_count: i32, schema: String, table: String, ) -> TableProfileResponse
Column-level statistics for a synced table. Profiles are computed at sync time and include per-column cardinality, null counts, and type-specific details.
Trait Implementations§
Source§impl Clone for TableProfileResponse
impl Clone for TableProfileResponse
Source§fn clone(&self) -> TableProfileResponse
fn clone(&self) -> TableProfileResponse
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 TableProfileResponse
impl Debug for TableProfileResponse
Source§impl Default for TableProfileResponse
impl Default for TableProfileResponse
Source§fn default() -> TableProfileResponse
fn default() -> TableProfileResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TableProfileResponse
impl<'de> Deserialize<'de> for TableProfileResponse
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 TableProfileResponse
impl PartialEq for TableProfileResponse
Source§fn eq(&self, other: &TableProfileResponse) -> bool
fn eq(&self, other: &TableProfileResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TableProfileResponse
impl Serialize for TableProfileResponse
impl StructuralPartialEq for TableProfileResponse
Auto Trait Implementations§
impl Freeze for TableProfileResponse
impl RefUnwindSafe for TableProfileResponse
impl Send for TableProfileResponse
impl Sync for TableProfileResponse
impl Unpin for TableProfileResponse
impl UnsafeUnpin for TableProfileResponse
impl UnwindSafe for TableProfileResponse
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