Struct postgres_util::PgColumn [−][src]
pub struct PgColumn {
pub name: Ident,
pub scalar_type: PgScalarType,
pub nullable: bool,
pub primary_key: bool,
}
Expand description
The schema of a single column
Fields
name: Ident
scalar_type: PgScalarType
nullable: bool
primary_key: bool
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PgColumn
impl UnwindSafe for PgColumn
Blanket Implementations
Mutably borrows from an owned value. Read more
Formats an object with the “alternative” format ({:#}
) and returns it.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more