pub fn replicas_for(
target: Target,
resource: &str,
export: Option<&ExportConfig>,
) -> u32Expand description
Replica count for resource on target: a per-resource override
wins over the per-target default, which falls back to one. Compose
has no replica concept and always resolves to one.