fedimint_derive

Function parse_index_attribute

source
pub(crate) fn parse_index_attribute(attributes: &[Attribute]) -> Option<u64>
Expand description

Extracts the u64 index from an attribute if it matches #[encodable(index = <u64>)].