pub struct Collation {
pub lcid: u32,
pub flags: u32,
pub sort_id: u8,
}Expand description
The five collation bytes that follow every character type.
Only one bit of it changes how the driver behaves — whether the column is stored as UTF-8, which SQL Server 2019 introduced — but the LCID is kept so a caller diagnosing a mojibake bug can see what the server claimed.
Fields§
§lcid: u32§flags: u32§sort_id: u8Implementations§
Trait Implementations§
impl Copy for Collation
impl Eq for Collation
impl StructuralPartialEq for Collation
Auto Trait Implementations§
impl Freeze for Collation
impl RefUnwindSafe for Collation
impl Send for Collation
impl Sync for Collation
impl Unpin for Collation
impl UnsafeUnpin for Collation
impl UnwindSafe for Collation
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