serde_for_bitflags

Macro serde_for_bitflags 

Source
macro_rules! serde_for_bitflags {
    (@bincode for $t:ty) => { ... };
    (@openapi for $t:ty => $format:ident) => { ... };
    (@serde($repr:ty) $tgt:ty => $openapi_format:ident; $minmax:expr) => { ... };
    (@serde_signed($repr:ty) $tgt:ty => $openapi_format:ident) => { ... };
    (@serde_unsigned($repr:ty) $tgt:ty => $openapi_format:ident) => { ... };
    (u32: $t:ty) => { ... };
    (i32: $t:ty) => { ... };
    (i16: $t:ty) => { ... };
    (i64: $t:ty) => { ... };
}