1 2 3 4 5
use serde::{Deserialize, Serialize}; pub type Foo = FooType; #[derive(Debug, Serialize, Deserialize, Default)] pub struct FooType(pub Vec<StringType>); pub type StringType = String;