pub struct Words {
pub lists: Vec<&'static str>,
pub aliases: Vec<(&'static str, &'static str)>,
pub keys: Vec<&'static str>,
pub commands: Vec<&'static str>,
pub path_lead: Vec<&'static str>,
pub secret_names: Vec<&'static str>,
pub secret_headers: Vec<&'static str>,
pub media: Vec<&'static str>,
pub hosts: Vec<(&'static str, &'static str)>,
pub mcp_hosts: Vec<(&'static str, Vec<&'static str>, &'static str, &'static str)>,
pub ssh: Vec<&'static str>,
pub stop: Vec<&'static str>,
/* private fields */
}Expand description
The language’s words (src/data/words.json).
Fields§
§lists: Vec<&'static str>The lists of a page: next to a page id, the first word stays the list and the words after it filter it
(fats u1 links inmueble, fats u1 cards 3 hab).
aliases: Vec<(&'static str, &'static str)>Other spellings of a reserved word, and what people type for it (login → setup, balance →
account): reserved only without free text, like the word itself; -V by its case.
keys: Vec<&'static str>Known mod keys (aliases resolve to these first), and those that take a boolean.
commands: Vec<&'static str>The commands a lone word may be a typo of. The reading words (more, full, json, links, help)
are left out: their neighbours are real searches (mode, fuel, jason, yelp).
path_lead: Vec<&'static str>What leads a path, never a key (setup::masked): /etc/x, ./file, ~/x.
secret_names: Vec<&'static str>Key and credential file names (.env.* = a prefix), matched on the bare name: cli::secret.
secret_headers: Vec<&'static str>Headers that carry a credential, the site’s or ours: never kept with a page (provider::header_lines).
media: Vec<&'static str>A filter for only these words that finds nothing points to the page’s media list (search::grep).
hosts: Vec<(&'static str, &'static str)>Agent hosts by the env marker each sets for the commands it runs (stats::host_of): CLAUDECODE (Claude
Code’s shell), CODEX_THREAD_ID (Codex’s exec env), PI_CODING_AGENT (pi); the first set one wins.
mcp_hosts: Vec<(&'static str, Vec<&'static str>, &'static str, &'static str)>The hosts fats status names and fats setup mcp <host> adds fats to: the files its mcp add writes
(mcp::read), that command ({b} = the server’s command; none = fats writes the first file), the name a
person knows: Claude Code’s user and local scopes in ~/.claude.json ($CLAUDE_CONFIG_DIR/.claude.json while
that is set, code.claude.com/docs/en/claude-directory), its project scope in ./.mcp.json
(code.claude.com/docs/en/mcp), Codex’s $CODEX_HOME/config.toml (developers.openai.com/codex/mcp), Cursor’s
global and project files (cursor.com/docs/context/mcp).
ssh: Vec<&'static str>What an SSH login sets (OpenSSH, ssh(1) ENVIRONMENT): fats setup <p> adds the key’s SSH way only then.
stop: Vec<&'static str>Words a filter never looks for (search::terms_of, the title query).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Wordswhere
'de: 'static,
impl<'de> Deserialize<'de> for Wordswhere
'de: 'static,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Forget for Words
impl Freeze for Words
impl RefUnwindSafe for Words
impl Send for Words
impl Sync for Words
impl Unpin for Words
impl UnsafeUnpin for Words
impl UnwindSafe for Words
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
T, using the provided data to resolve any offsets.