pub struct CompatibilityLevel(/* private fields */);Expand description
SQL Server database compatibility level.
Implementations§
Source§impl CompatibilityLevel
impl CompatibilityLevel
Sourcepub const SQL_SERVER_2008: Self
pub const SQL_SERVER_2008: Self
SQL Server 2008 / 2008 R2 compatibility level.
Sourcepub const SQL_SERVER_2012: Self
pub const SQL_SERVER_2012: Self
SQL Server 2012 compatibility level.
Sourcepub const SQL_SERVER_2014: Self
pub const SQL_SERVER_2014: Self
SQL Server 2014 compatibility level.
Sourcepub const SQL_SERVER_2016: Self
pub const SQL_SERVER_2016: Self
SQL Server 2016 compatibility level.
Sourcepub const SQL_SERVER_2017: Self
pub const SQL_SERVER_2017: Self
SQL Server 2017 compatibility level.
Sourcepub const SQL_SERVER_2019: Self
pub const SQL_SERVER_2019: Self
SQL Server 2019 compatibility level.
Sourcepub const SQL_SERVER_2022: Self
pub const SQL_SERVER_2022: Self
SQL Server 2022 compatibility level.
Sourcepub const SQL_SERVER_2025: Self
pub const SQL_SERVER_2025: Self
SQL Server 2025 compatibility level.
Trait Implementations§
Source§impl Clone for CompatibilityLevel
impl Clone for CompatibilityLevel
Source§fn clone(&self) -> CompatibilityLevel
fn clone(&self) -> CompatibilityLevel
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 CompatibilityLevel
Source§impl Debug for CompatibilityLevel
impl Debug for CompatibilityLevel
impl Eq for CompatibilityLevel
Source§impl Hash for CompatibilityLevel
impl Hash for CompatibilityLevel
Source§impl Ord for CompatibilityLevel
impl Ord for CompatibilityLevel
Source§fn cmp(&self, other: &CompatibilityLevel) -> Ordering
fn cmp(&self, other: &CompatibilityLevel) -> 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 CompatibilityLevel
impl PartialEq for CompatibilityLevel
Source§fn eq(&self, other: &CompatibilityLevel) -> bool
fn eq(&self, other: &CompatibilityLevel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CompatibilityLevel
impl PartialOrd for CompatibilityLevel
impl StructuralPartialEq for CompatibilityLevel
Auto Trait Implementations§
impl Freeze for CompatibilityLevel
impl RefUnwindSafe for CompatibilityLevel
impl Send for CompatibilityLevel
impl Sync for CompatibilityLevel
impl Unpin for CompatibilityLevel
impl UnsafeUnpin for CompatibilityLevel
impl UnwindSafe for CompatibilityLevel
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