pub fn ident_as_string(field: &'a syn::Field, index: usize) -> String {
        field
            .ident
            .as_ref()
            .map(ToString::to_string)
            .unwrap_or_else(|| format!("{}", index))
    }
/// Returns the field's identifier at the given index as `String`.
Returns the field's identifier at the given index as `String`.
Returns the field ' s identifier at the given index as ` String ` .
pub fn ident_as_string(field: &'a syn::Field, index: usize) -> String {
        field
            .ident
            .as_ref()
            .map(ToString::to_string)
            .unwrap_or_else(|| format!("{}", index))
    }
pub fn ident_as_string ( field : & ' a syn :: Field , index : usize ) -> String { field . ident . as_ref ( ) . map ( ToString :: to_string ) . unwrap_or_else ( | | format ! ( " " index ) ) }
Returns the field's identifier at the given index as `String`.
Returns the field ' s identifier at the given index as ` String ` .
field
&'a syn::Field
index
usize
field
&'a syn::Field
index
usize