Skip to main content

Crate armour_derive

Crate armour_derive 

Source

Attribute Macros§

armour_metrics
Adds metrics tracking to the function.

Derive Macros§

GetRefs
Standalone derive for relation metadata. Pair with GetType (#[derive(GetType, GetRefs)]) on stored types, or use alone on composite collection keys that don’t implement GetType.
GetType
#[get_type(flatten)] for unnamed structs#[get_type(with_type = Type)] for named struct fields#[get_type(unimplemented)] for named struct fields#[get_type(custom("name", &[Typ::Bool, Typ::Str]))] for named struct fields