Hello again!
I'm trying to write a test for a function that returns a value of type io::Result<Vec<OptionProperties>>
But I don't know express the literal values returned by Vec to use as the second parameter of assert_eq!(). I know how if it's just a vector, but not a structure.
#[derive(Debug)]
pub struct Value {
pub primary: String,
pub attributes: Vec<String>,
}
#[derive(Debug)]
pub struct OptionProperties {
pub option: String,
pub value: Value,
}