#[non_exhaustive]pub enum IdentifierPolicy {
BracketQuoted,
}Expand description
SQL Server identifier policy.
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.
BracketQuoted
Reject empty and over-length identifiers, then render with bracket quoting.
Trait Implementations§
Source§impl Clone for IdentifierPolicy
impl Clone for IdentifierPolicy
Source§fn clone(&self) -> IdentifierPolicy
fn clone(&self) -> IdentifierPolicy
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 IdentifierPolicy
Source§impl Debug for IdentifierPolicy
impl Debug for IdentifierPolicy
impl Eq for IdentifierPolicy
Source§impl Hash for IdentifierPolicy
impl Hash for IdentifierPolicy
Source§impl PartialEq for IdentifierPolicy
impl PartialEq for IdentifierPolicy
impl StructuralPartialEq for IdentifierPolicy
Auto Trait Implementations§
impl Freeze for IdentifierPolicy
impl RefUnwindSafe for IdentifierPolicy
impl Send for IdentifierPolicy
impl Sync for IdentifierPolicy
impl Unpin for IdentifierPolicy
impl UnsafeUnpin for IdentifierPolicy
impl UnwindSafe for IdentifierPolicy
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