use syn::{Ident, Type};
#[derive(Debug, Clone)]
pub(crate) struct FieldDefinition {
pub(crate) rust_name: Ident,
pub(crate) output_name: String,
pub(crate) ty: Type,
pub(crate) is_extension: bool,
pub(crate) is_source: bool,
pub(crate) is_from: bool,
pub(crate) is_option: bool,
pub(crate) http_header: Option<String>,
}
#[derive(Debug, Clone)]
pub(crate) struct TransparentFieldDefinition {
pub(crate) ty: Type,
pub(crate) is_from: bool,
}