#[non_exhaustive]pub enum PostgresProvider {
Icu,
Libc,
C,
}Expand description
PostgreSQL collation provider.
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.
Icu
ICU provider (collprovider = 'i').
Libc
libc provider (collprovider = 'c'). Only C/POSIX are supported and
they are bytewise.
C
The C/POSIX locale under any provider: bytewise ordering.
Trait Implementations§
Source§impl Clone for PostgresProvider
impl Clone for PostgresProvider
impl Copy for PostgresProvider
Source§impl Debug for PostgresProvider
impl Debug for PostgresProvider
Source§impl<'de> Deserialize<'de> for PostgresProvider
Available on crate feature serde only.
impl<'de> Deserialize<'de> for PostgresProvider
Available on crate feature
serde only.Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PostgresProvider
Source§impl Hash for PostgresProvider
impl Hash for PostgresProvider
Source§impl PartialEq for PostgresProvider
impl PartialEq for PostgresProvider
Source§impl Serialize for PostgresProvider
Available on crate feature serde only.
impl Serialize for PostgresProvider
Available on crate feature
serde only.impl StructuralPartialEq for PostgresProvider
Auto Trait Implementations§
impl Freeze for PostgresProvider
impl RefUnwindSafe for PostgresProvider
impl Send for PostgresProvider
impl Sync for PostgresProvider
impl Unpin for PostgresProvider
impl UnsafeUnpin for PostgresProvider
impl UnwindSafe for PostgresProvider
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