pub struct EffectiveEntry {
pub name: String,
pub loaded: bool,
pub winner: Winner,
pub shadowed: Vec<Shadowed>,
pub also_visible_to: Vec<&'static str>,
pub status: Option<EntryState>,
pub warnings: Vec<CoreError>,
pub snippet: Option<String>,
}Expand description
One server name a client loads, or would load, in the folder.
Fields§
§name: String§loaded: boolWhether the client starts it: not suppressed, not disabled, and not only planned in a blocked target.
winner: Winner§shadowed: Vec<Shadowed>§also_visible_to: Vec<&'static str>Other clients with an adapter that read the winner’s file and container (SPEC 6.5), by id.
status: Option<EntryState>The winner’s plan state, when Surjection plans its file; foreign for
an entry it does not own.
warnings: Vec<CoreError>duplicate_via_compat, duplicate_across_layers,
cannot_suppress_in_project,
unset_not_expressible, trust_required,
client_mcp_replaced_by_extension, client_enable_required and the
problems the plan has with this name’s entries.
snippet: Option<String>The winner’s native entry as its file writes it, under the
innermost container key, with the values the plan writes or held
inline masked (TargetPlan::snippet); None when it cannot be
rendered. Other literals are the caller’s to mask before showing
it. Not part of the JSON view.