Skip to main content

dry_get_key

Macro dry_get_key 

Source
macro_rules! dry_get_key {
    ($ctx:expr, $key:expr) => { ... };
}
Expand description

Retrieve a value from dry context using a custom key name let var: Option = dry_get_key!(dry_context, “custom_key”);