apollo-configuration-macros 0.1.1

Supporting macros for apollo-configuration (internal, do not use directly)
Documentation
use super::FieldDefinition;

pub(crate) struct ConfigStructDefinition {
    pub(crate) struct_token: syn::Token![struct],

    pub(crate) name: syn::Ident,

    pub(crate) vis: syn::Visibility,

    pub(crate) generics: syn::Generics,

    /// Non-apollo-configuration field attributes to pass through to the output.
    pub(crate) attrs: Vec<syn::Attribute>,

    // XXX(@goto-bus-stop): Only named fields are supported currently.
    pub(crate) fields: Vec<FieldDefinition>,

    /// Path to a custom validation function for the whole struct.
    pub(crate) validator: Option<syn::Path>,
}