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>)].