use bitflags::bitflags;
bitflags! {
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct ConfigKind: u16 {
const NONE = 0;
const INT32 = 1 << 0;
const INT64 = 1 << 1;
const BOOL = 1 << 2;
const ENUM = 1 << 3;
const STRING = 1 << 4;
const MILLISECONDS = 1 << 5;
const SECONDS = 1 << 6;
const MICROSECONDS = 1 << 7;
const TIME_SPAN = 1 << 8;
const STORAGE_MASK = Self::INT32.bits() | Self::INT64.bits() | Self::BOOL.bits() | Self::ENUM.bits() | Self::STRING.bits();
const DURATION_MASK = Self::MILLISECONDS.bits() | Self::SECONDS.bits() | Self::MICROSECONDS.bits() | Self::TIME_SPAN.bits();
}
}