Struct ergol_core::Enum [−][src]
Expand description
The struct that holds to information to create, drop or migrate an enum type.
Fields
name: String
The name of the type.
variants: Vec<String>
The variants.
Implementations
Trait Implementations
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 RefUnwindSafe for Enum
impl UnwindSafe for Enum
Blanket Implementations
Mutably borrows from an owned value. Read more