Skip to main content

declaration

Function declaration 

Source
pub fn declaration(
    role: &Role<'_>,
    provider: Option<&Revision<'_>>,
    params: &BTreeMap<String, String>,
) -> Declaration
Expand description

Reads a role’s declaration (§2.2) from the role, the revision of the required interface held (None: none held), and the role’s parameter bindings as configured (core R2). Each check runs alone, in §2.2’s order; checks 7 and 8 only when check 6 passes, and 6 to 8 only with a revision held.