pub trait AsKey {
// Required method
fn as_key(&self) -> Key;
}Expand description
A public-facing Key converter, which allows creating a valid Key for constraints
Currently we only support standalone Keys, or key-value pairs (via 2-tuples).