use collections_fromstr::FromStr; #[derive(FromStr, PartialEq)] #[item_separator = ","] struct NewVec(Vec); impl From> for NewVec{ fn from(v: Vec) -> Self { NewVec(v) } } fn main(){}