Trait denvars::StructParser
source · pub trait StructParser: Copy {
// Required method
fn parse_struct<'de, V, B, N, S, M, E>(
&self,
options: Options<B, N, S, M, Self, E>,
value: &str,
name: &'static str,
fields: &'static [&'static str],
visitor: V
) -> Result<V::Value, Error>
where V: Visitor<'de>,
B: BoolParser,
N: NumParser,
S: SeqParser,
M: MapParser,
E: EnumParser;
}Required Methods§
fn parse_struct<'de, V, B, N, S, M, E>( &self, options: Options<B, N, S, M, Self, E>, value: &str, name: &'static str, fields: &'static [&'static str], visitor: V ) -> Result<V::Value, Error>where V: Visitor<'de>, B: BoolParser, N: NumParser, S: SeqParser, M: MapParser, E: EnumParser,
Object Safety§
This trait is not object safe.