pub struct DialectInfo {
pub name: &'static str,
pub display_name: &'static str,
pub dialect_family: DialectFamily,
pub family: &'static str,
pub is_cloud_native: bool,
pub is_olap: bool,
pub is_postgres_compatible: bool,
}Expand description
Metadata describing a dialect implementation.
Serializes to the discovery payload returned by list_platforms() across
every surface (and consumed by the typed-constants generator), so hosts learn
the registered platforms — including third-party plugins — at runtime instead
of hard-coding them.
Fields§
§name: &'static strMachine-readable name (e.g., “postgres”, “redshift”).
display_name: &'static strHuman-readable display name (e.g., “PostgreSQL”, “Amazon Redshift”).
dialect_family: DialectFamilyDialect family for shared behavior (e.g., PostgreSQL, TSql).
family: &'static strSQL family label (e.g., “PostgreSQL”, “T-SQL”, “ClickHouse SQL”).
is_cloud_native: boolWhether this is a cloud-native platform (e.g. Snowflake, Databricks).
is_olap: boolWhether this is primarily an OLAP engine (e.g. ClickHouse).
is_postgres_compatible: boolWhether this dialect is PostgreSQL-wire-compatible.
Trait Implementations§
Source§impl Clone for DialectInfo
impl Clone for DialectInfo
Source§fn clone(&self) -> DialectInfo
fn clone(&self) -> DialectInfo
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 DialectInfo
impl Debug for DialectInfo
Auto Trait Implementations§
impl Freeze for DialectInfo
impl RefUnwindSafe for DialectInfo
impl Send for DialectInfo
impl Sync for DialectInfo
impl Unpin for DialectInfo
impl UnsafeUnpin for DialectInfo
impl UnwindSafe for DialectInfo
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