Struct sea_schema::postgres::def::EnumDef
source ยท Available on crate features
postgres and def only.Expand description
Defines an enum for the PostgreSQL module
Fieldsยง
ยงvalues: Vec<String>Holds the fields of the ENUM
typename: StringDefines the name of the PostgreSQL enum identifier
Implementationsยง
sourceยงimpl EnumDef
impl EnumDef
sourcepub fn write(&self) -> TypeCreateStatement
Available on crate feature writer only.
pub fn write(&self) -> TypeCreateStatement
writer only.Converts the EnumDef to a TypeCreateStatement