pub struct PostgresCollationConfig {
pub use_icu: bool,
pub provider: String,
}Expand description
PostgreSQL-specific collation configuration.
Fields§
§use_icu: boolUse ICU collations (recommended).
provider: StringProvider: “icu” or “libc”.
Trait Implementations§
Source§impl Clone for PostgresCollationConfig
impl Clone for PostgresCollationConfig
Source§fn clone(&self) -> PostgresCollationConfig
fn clone(&self) -> PostgresCollationConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PostgresCollationConfig
impl Debug for PostgresCollationConfig
Source§impl Default for PostgresCollationConfig
impl Default for PostgresCollationConfig
Source§impl<'de> Deserialize<'de> for PostgresCollationConfig
impl<'de> Deserialize<'de> for PostgresCollationConfig
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
Auto Trait Implementations§
impl Freeze for PostgresCollationConfig
impl RefUnwindSafe for PostgresCollationConfig
impl Send for PostgresCollationConfig
impl Sync for PostgresCollationConfig
impl Unpin for PostgresCollationConfig
impl UnsafeUnpin for PostgresCollationConfig
impl UnwindSafe for PostgresCollationConfig
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