pub enum StandardVersion {
Sql1999,
Sql2003,
Sql2008,
Sql2011,
Sql2016,
}Expand description
A frozen SQL-standard edition, used to anchor feature availability to a release
without enumerating features (ZetaSQL’s LanguageVersion checkpoints).
These are the feature-ID-era editions: the Ennn/Fnnn/Tnnn feature taxonomy
was introduced in SQL:1999, so it is the earliest anchor. Declaration order is
chronological, so Ord reads as “released no later than”.
Variants§
Sql1999
SQL:1999 — first edition with the named-feature taxonomy.
Sql2003
SQL:2003 — adds windowed table functions (OLAP), MERGE, sequences.
Sql2008
SQL:2008.
Sql2011
SQL:2011.
Sql2016
SQL:2016 — the edition “generic”/ANSI is anchored on.
Trait Implementations§
Source§impl Clone for StandardVersion
impl Clone for StandardVersion
Source§fn clone(&self) -> StandardVersion
fn clone(&self) -> StandardVersion
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 moreimpl Copy for StandardVersion
Source§impl Debug for StandardVersion
impl Debug for StandardVersion
impl Eq for StandardVersion
Source§impl Ord for StandardVersion
impl Ord for StandardVersion
Source§fn cmp(&self, other: &StandardVersion) -> Ordering
fn cmp(&self, other: &StandardVersion) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for StandardVersion
impl PartialEq for StandardVersion
Source§impl PartialOrd for StandardVersion
impl PartialOrd for StandardVersion
impl StructuralPartialEq for StandardVersion
Auto Trait Implementations§
impl Freeze for StandardVersion
impl RefUnwindSafe for StandardVersion
impl Send for StandardVersion
impl Sync for StandardVersion
impl Unpin for StandardVersion
impl UnsafeUnpin for StandardVersion
impl UnwindSafe for StandardVersion
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