Skip to content
1 viewer

rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off

crates/cre8-app-weather/src/provider.rs

cre8-app-weather · module provider · src · 464 lines (410 code, 4 comment) · sha 20dbe720ea15c4dc

Items

struct WeatherObservation impl WeatherObservation trait WeatherDataProvider struct OpenMeteoProvider impl OpenMeteoProvider impl WeatherDataProvider for OpenMeteoProvider struct CurrentUnits struct Current struct Response struct OpenWeatherMapProvider impl OpenWeatherMapProvider impl WeatherDataProvider for OpenWeatherMapProvider struct Main struct Wind struct WeatherItem struct Coord struct Clouds struct Rain struct Response struct TestRainProvider impl TestRainProvider impl WeatherDataProvider for TestRainProvider

Functions

By call-graph weight (PageRank; 1.0 is the average function). 28 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
open_weather_map_weather_kind_for_non_thunder_groupsrc/provider.rs:249fn95102.1
registrysrc/provider.rs:259fn31202
open_weather_map_weather_kind_for_groupsrc/provider.rs:245fn32111.9
open_weather_map_weather_kindsrc/provider.rs:241fn31111.7
findsrc/provider.rs:294fn82211.5
open_meteo_weather_kind_after_clearsrc/provider.rs:137fn95101.4
parse_open_meteosrc/provider.rs:78fn461321.4
parse_open_weather_mapsrc/provider.rs:181fn591311.4
open_meteo_wind_speed_m_ssrc/provider.rs:125fn73101.1
open_meteo_weather_kindsrc/provider.rs:133fn32111.1
parse_open_meteo_bytessrc/provider.rs:73fn41210.8
parse_open_weather_map_bytessrc/provider.rs:176fn41210.8
assert_closesrc/provider.rs:307fn31300.8
fetch_open_meteo_bytessrc/provider.rs:59fn131100.7
fetch_open_weather_map_bytessrc/provider.rs:164fn111100.7
open_meteo_payloadsrc/provider.rs:311fn121200.7
open_weather_payloadsrc/provider.rs:324fn141100.6
WeatherObservation::to_jsonsrc/provider.rs:21method151000.5
OpenMeteoProvider::idsrc/provider.rs:50trait impl31000.5
OpenMeteoProvider::fetch_weathersrc/provider.rs:54trait impl31020.5
OpenWeatherMapProvider::idsrc/provider.rs:154trait impl31000.5
OpenWeatherMapProvider::fetch_weathersrc/provider.rs:158trait impl41020.5
TestRainProvider::idsrc/provider.rs:273trait impl31000.5
TestRainProvider::fetch_weathersrc/provider.rs:277trait impl151000.5
open_meteo_parser_maps_codes_units_and_errorssrc/provider.rs:340fn302040.5
open_weather_map_parser_maps_codes_wind_defaults_and_errorssrc/provider.rs:372fn312040.5
parsers_surface_doppler_grade_channels_when_presentsrc/provider.rs:405fn401040.5
registry_find_and_fetch_error_paths_are_covered_without_network_successsrc/provider.rs:447fn171020.5

Source not readable from this process.