pub struct EnumSpec {
pub name: Ident,
pub options: Vec<OptionSpec>,
}Expand description
An enum with #[derive(BusinessEnum)].
Fields§
§name: IdentIts name in the code.
options: Vec<OptionSpec>Its options, the first one being what a new record starts with.
Trait Implementations§
Auto Trait Implementations§
impl !Send for EnumSpec
impl !Sync for EnumSpec
impl Freeze for EnumSpec
impl RefUnwindSafe for EnumSpec
impl Unpin for EnumSpec
impl UnsafeUnpin for EnumSpec
impl UnwindSafe for EnumSpec
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