Skip to main content

patch_retention_days

Function patch_retention_days 

Source
pub fn patch_retention_days(
    raw: Option<&str>,
    retention_days: Option<u32>,
) -> Result<String, ConfigStoreError>
Expand description

Patch only retention_days while preserving every unrelated key, comment, and formatting detail the source document already had. None removes the key entirely.