Skip to main content

with_migration

Function with_migration 

Source
pub fn with_migration(text: &str, id: Option<&str>) -> Result<String, RkError>
Expand description

The text with the top-level migration key set, or removed where id is None, every other byte kept.

ยงErrors

Refuses text that is not TOML or not a configuration.