Struct prost_serde::BuildOption [−][src]
pub struct BuildOption {
pub scope: String,
pub description: String,
pub attr: String,
pub paths: Vec<String>,
}
Fields
scope: String
scope of the attribute
description: String
description of the option
attr: String
extra attribute to put on generated data structure, for example: #[derive(Serialize, Deserialize)]
paths: Vec<String>
a list of paths you want to add the attribute
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more