fn serialize_comma_separated_list<S, T>(list: &[T], serializer: S) -> Result<S::Ok, S::Error>
where
    S: ser::Serializer,
    T: ToString,
{
    let str_list = list.iter().map(|addr| addr.to_string()).collect::<Vec<_>>();
    str_list.join(",").serialize(serializer)
}
/// Serialize a comma separated list types that impl `ToString`
Serialize a comma separated list types that impl `ToString`
Serialize a comma separated list types that impl ` ToString `
fn serialize_comma_separated_list<S, T>(list: &[T], serializer: S) -> Result<S::Ok, S::Error>
where
    S: ser::Serializer,
    T: ToString,
{
    let str_list = list.iter().map(|addr| addr.to_string()).collect::<Vec<_>>();
    str_list.join(",").serialize(serializer)
}
fn serialize_comma_separated_list < S , T > ( list : & [ T ] , serializer : S ) -> Result < S :: Ok , S :: Error > where S : ser :: Serializer , T : ToString , { let str_list = list . iter ( ) . map ( | addr | addr . to_string ( ) ) . collect :: < Vec < _ > > ( ) ; str_list . join ( " " ) . serialize ( serializer ) }
Serialize a comma separated list types that impl `ToString`
Serialize a comma separated list types that impl ` ToString `
list
&[T]
serializer
S