Expand description
Generated from Pokémon GO masterfile — runtime API.
Crate root. The hand-written templates (masterfile.rs, error.rs,
fetcher.rs, builder.rs, blocking.rs) are copied verbatim by codegen;
everything in THIS file (per-group accessor methods, the GroupIndexes
storage struct, upstream re-exports) is regenerated on every
bun run generate.
Re-exports§
pub use crate::builder::MasterfileBuilder;pub use crate::error::Error;pub use crate::error::Result;pub use crate::fetcher::DEFAULT_MASTERFILE_URL;pub use crate::fetcher::Fetcher;pub use crate::fetcher::ReqwestFetcher;
Modules§
- accessor
- Generated from Pokémon GO masterfile — per-group accessor modules.
- blocking
- Blocking-flavored Masterfile. Same struct fields, sync
from_remoteandrefresh. The per-group accessor methods are appended by codegen inlib.rs(inside an#[cfg(feature = "blocking")]impl block). - builder
- Builder for
Masterfile::from_remote— handles URL/timeout/fetcher overrides. - error
- Crate-level error type. One enum, one variant per real failure mode.
- fetcher
- Fetcher abstraction + the default reqwest-backed implementation.
Structs§
- Masterfile
- Unknown
Template Id - Error returned by
FromStrimpls on generated templateId enums when the input string does not match any known templateId for the group.
Enums§
- Masterfile
Entry - Every typed entry the Pokémon GO masterfile can hold.
Functions§
- parse_
masterfile - Parse a masterfile JSON string into a vector of typed entries.