Skip to main content

model_config

Macro model_config 

Source
macro_rules! model_config {
    ($name:ident {
        $($field:ident: $type:ty = $default:expr),* $(,)?
    }) => { ... };
}
Expand description

Helper macro for creating model configurations