Trait itconfig::ToEnvString [−][src]
pub trait ToEnvString { fn to_env_string(&self) -> EnvString; }
Expand description
Required methods
fn to_env_string(&self) -> EnvString
fn to_env_string(&self) -> EnvString
Converts the giving value to a EnvString
.
Examples
basic usage
let i = 5; let five = EnvString::from("5"); assert_eq!(five, i.to_env_string());