pub struct EnvConversion {
pub recognized: Vec<(String, String)>,
pub carried_over: Vec<(String, String)>,
pub notes: Vec<String>,
}Expand description
A KEY -> value pair this module recognized and translated to its
Larust equivalent, plus everything it didn’t (carried over as-is), plus
human-readable notes for anything it recognized but couldn’t safely
translate - see convert.
Fields§
§recognized: Vec<(String, String)>Larust key -> value, in config_template::FIELDS’s own order -
only for keys this function actually recognized. A caller rewriting
a scaffold-shaped .env can look each of these up by its own
KEY= line prefix and substitute the real value in place of the
scaffold’s generic literal.
carried_over: Vec<(String, String)>Original key -> value, for every other line in the source .env -
untouched, including Laravel-only keys with no Larust equivalent at
all (APP_KEY, custom package/service keys, feature flags).
notes: Vec<String>One entry per value this module recognized but declined to
translate because Larust can’t actually use it (an unsupported
MAIL_MAILER/DB_CONNECTION value) - meant to be folded into
ConversionReport.not_attempted by the caller.