Derive Macro pravega_client_macros::Fields
source · [−]#[derive(Fields)]
Expand description
A derive marco that generates trait impls.
This derive macro implements Fields trait for struct. The Fields trait has a single method that outputs a list of key value pairs. The key is the struct field name and the value is the corresponding field value. The value has to be u64 type.