pub struct Collation {
pub oid: u32,
pub name: String,
pub namespace: u32,
pub owner: u32,
pub provider: u8,
pub encoding: i32,
pub libc_locale: Option<String>,
pub locale: Option<String>,
pub version: Option<String>,
}Expand description
A collation, one row of pg_collation. The catalog holds the collations that pg_import_system_collations makes when the cluster starts.
Fields§
§oid: u32The OID.
name: StringThe name.
namespace: u32The OID of the schema.
owner: u32The OID of the owner.
provider: u8collprovider: c for the C library and i for ICU.
encoding: i32collencoding: the encoding, or -1 for any encoding.
libc_locale: Option<String>collcollate and collctype: the locale of the C library, or None for ICU.
locale: Option<String>colllocale: the locale of ICU, or None for the C library.
version: Option<String>collversion, or None.
Trait Implementations§
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