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.
#[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