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