fn new()

in rust/ccommon-rs/src/metric/mod.rs [176:187]


                    fn new() -> Self {
                        Self {
                            $(
                                $field: metric {
                                    name: c_str!(stringify!($field)),
                                    type_: $type,
                                    desc: c_str!($desc),
                                    data: initialize_metric_value!($type)
                                },
                            )*
                        }
                    }