pub fn require_amount<D, T>(amount: D, resource: T) -> AccessRuleNodewhere
    D: Into<Decimal>,
    T: Into<ResourceAddress>,