Struct analyzer::data_model::Field

pub struct Field {
    pub path: Vec<String>,
    pub docstring: String,
    pub type_: TypeSignature,
}

Representation of a Struct or Enum field

Fields

path:

Vec<String>

The fully qualified name of the field.

Note, for fields of tuple structs, the final component is the index of the field

docstring:

String

The docstring of the field

type_:

TypeSignature