pub fn to_string<T>(value: &T) -> Result<String>
where
    T: Serialize,
{
    let mut serializer = Serializer {
        output: String::new(),
        keys: Vec::new(),
        is_seq: false,
    };
    value.serialize(&mut serializer)?;
    Ok(serializer.output)
}
// Serialize to env vars and output a String with `to_string`.
Serialize to env vars and output a String with `to_string`.
Serialize to env vars and output a String with ` to_string ` .
pub fn to_string<T>(value: &T) -> Result<String>
where
    T: Serialize,
{
    let mut serializer = Serializer {
        output: String::new(),
        keys: Vec::new(),
        is_seq: false,
    };
    value.serialize(&mut serializer)?;
    Ok(serializer.output)
}
pub fn to_string < T > ( value : & T ) -> Result < String > where T : Serialize , { let mut serializer = Serializer { output : String :: new ( ) , keys : Vec :: new ( ) , is_seq : false , } ; value . serialize ( & mut serializer ) ? ; Ok ( serializer . output ) }
Serialize to env vars and output a String with `to_string`.
Serialize to env vars and output a String with ` to_string ` .
value
&T
value
&T