pub struct StatExt {
pub oid: u32,
pub name: String,
pub namespace: u32,
pub owner: u32,
pub relation: u32,
pub keys: Vec<i16>,
pub kinds: Vec<u8>,
pub target: Option<i16>,
pub exprs: Option<String>,
}Expand description
An extended statistics object, one row of pg_statistic_ext.
Fields§
§oid: u32The OID. Catalog::create_stat_ext sets it.
name: Stringstxname: the name.
namespace: u32stxnamespace: the OID of the schema.
owner: u32stxowner: the OID of the owner role.
relation: u32stxrelid: the OID of the table.
keys: Vec<i16>stxkeys: the numbers of the plain columns, in order.
kinds: Vec<u8>stxkind: the kinds, d for ndistinct, f for dependencies, m for MCV and e for the expressions.
target: Option<i16>stxstattarget: the statistics target, or None for the default.
exprs: Option<String>stxexprs: the expressions in the form of nodeToString of a list, or None when there is no expression.
Trait Implementations§
impl Eq for StatExt
impl StructuralPartialEq for StatExt
Auto Trait Implementations§
impl Freeze for StatExt
impl RefUnwindSafe for StatExt
impl Send for StatExt
impl Sync for StatExt
impl Unpin for StatExt
impl UnsafeUnpin for StatExt
impl UnwindSafe for StatExt
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