pub trait ObjectVisitor: Sealed {
    type FieldVisitor: Visitor;
    type FlattenVisitor: Visitor;
    type ValueVisitor: Visitor;

    fn visit_name(&mut self, name: String);
    fn visit_description(&mut self, description: String);
    fn visit_field(
        &mut self,
        name: String,
        doc: Option<String>
    ) -> &mut Self::FieldVisitor; fn visit_flatten_field(&mut self) -> &mut Self::FlattenVisitor; fn visit_deny_additional(&mut self); fn visit_additional(&mut self) -> &mut Self::ValueVisitor; }

Required Associated Types§

Required Methods§

Implementors§