Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

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

cre8-app-weather · module provider · src · 524 lines (459 code, 9 comment) · sha 765033cfb07f534b

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 FakeWeatherProvider impl FakeWeatherProvider impl WeatherDataProvider for FakeWeatherProvider const KINDS struct TestRainProvider impl TestRainProvider impl WeatherDataProvider for TestRainProvider

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
registrysrc/provider.rs:259fn31402.8
open_weather_map_weather_kind_for_non_thunder_groupsrc/provider.rs:249fn95102.1
open_weather_map_weather_kind_for_groupsrc/provider.rs:245fn32111.9
findsrc/provider.rs:340fn123311.7
open_weather_map_weather_kindsrc/provider.rs:241fn31111.7
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:367fn31300.8
fetch_open_meteo_bytessrc/provider.rs:59fn131100.7
fetch_open_weather_map_bytessrc/provider.rs:164fn111100.7
open_meteo_payloadsrc/provider.rs:371fn121200.7
open_weather_payloadsrc/provider.rs:384fn141100.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
FakeWeatherProvider::idsrc/provider.rs:274trait impl31000.5
FakeWeatherProvider::fetch_weathersrc/provider.rs:278trait impl295000.5
TestRainProvider::idsrc/provider.rs:319trait impl31000.5
TestRainProvider::fetch_weathersrc/provider.rs:323trait impl151000.5
the_offline_source_is_deterministic_named_only_and_boundedsrc/provider.rs:358fn81020.5
open_meteo_parser_maps_codes_units_and_errorssrc/provider.rs:400fn302040.5
open_weather_map_parser_maps_codes_wind_defaults_and_errorssrc/provider.rs:432fn312040.5
parsers_surface_doppler_grade_channels_when_presentsrc/provider.rs:465fn401040.5
registry_find_and_fetch_error_paths_are_covered_without_network_successsrc/provider.rs:507fn171020.5

Source not readable from this process.