pub struct Preview {
pub name: String,
pub warehouse: String,
pub warehouse_id: String,
pub data: Option<Result<TableData, String>>,
pub scroll: usize,
pub col: usize,
pub filter: String,
pub filter_entry: bool,
pub record: bool,
pub rscroll: u16,
}Expand description
Full-screen sample-data view for a Unity Catalog table or view.
Fields§
§name: String§warehouse: StringDisplay name and id of the warehouse running the query.
warehouse_id: String§data: Option<Result<TableData, String>>None while the query runs; then rows or an error.
scroll: usizeTop visible row in the grid; the inspected row in record view.
col: usizeFirst visible column, as an index into the filtered column list.
filter: StringCase-insensitive substring filter over column names — the way through a 500-column table.
filter_entry: bool§record: boolTransposed view: one row, fields stacked vertically.
rscroll: u16Field scroll within the record view.
Implementations§
Auto Trait Implementations§
impl Freeze for Preview
impl RefUnwindSafe for Preview
impl Send for Preview
impl Sync for Preview
impl Unpin for Preview
impl UnsafeUnpin for Preview
impl UnwindSafe for Preview
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> 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