Skip to main content

gate_refusal

Function gate_refusal 

Source
pub fn gate_refusal(
    resource_type: &str,
    resource_id: &str,
) -> Option<GateRefusal>
Expand description

Whether a resource may carry an .enabled() gate at all. None means gateable. Lifecycle legality is not decided here — a lifecycle the type does not allow is refused by the lifecycle rules regardless of gating.