#[non_exhaustive]pub enum ListSummary {
Databases(Vec<String>),
Tables(Vec<TableSummary>),
Paths(Vec<String>),
Files(Vec<TableSummary>),
}Expand description
Summary of items available in a connector.
The variant indicates what type of items were found based on the connector type and search context.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Databases(Vec<String>)
List of database names (for database connectors at root level).
Tables(Vec<TableSummary>)
List of tables with metadata (for database connectors within a database).
Paths(Vec<String>)
List of path prefixes (for object store connectors at root level).
Files(Vec<TableSummary>)
List of files with metadata (for object store connectors within a path).
Trait Implementations§
Source§impl Clone for ListSummary
impl Clone for ListSummary
Source§fn clone(&self) -> ListSummary
fn clone(&self) -> ListSummary
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for ListSummary
impl ComposeSchema for ListSummary
Source§impl Debug for ListSummary
impl Debug for ListSummary
Source§impl<'de> Deserialize<'de> for ListSummary
impl<'de> Deserialize<'de> for ListSummary
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 Serialize for ListSummary
impl Serialize for ListSummary
Source§impl<'__r> ToResponse<'__r> for ListSummary
impl<'__r> ToResponse<'__r> for ListSummary
Auto Trait Implementations§
impl Freeze for ListSummary
impl RefUnwindSafe for ListSummary
impl Send for ListSummary
impl Sync for ListSummary
impl Unpin for ListSummary
impl UnwindSafe for ListSummary
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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