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-vehicle/src/registry.rs
Items
const VEHICLE_VERTEX_KIND const MAX_TRACK_POINTS const MIN_TRACK_INTERVAL_MS const MAX_TRIPS const MAX_DTCS const DOCUMENT_EXPIRY_WARN_MS const POSITION_GEOHASH_LEN const COARSE_GEOHASH_LEN const COARSE_FIX_BUCKET_MS const KNOWN_POSITION_VISIBILITIES const KNOWN_BUSINESS_ACTIVITIES const KNOWN_ROLES const KNOWN_BODIES const KNOWN_STATUSES const KNOWN_BUILD_STATUSES const RESERVED_VEHICLE_IDS const KNOWN_BUILD_CATEGORIES enum BuildZone impl BuildZone const KNOWN_BUILD_ZONES struct BuildComponent impl BuildComponent struct VehicleDocument impl VehicleDocument struct TrackPoint struct VehiclePosition impl VehiclePosition struct VehicleTelemetry struct VehicleRecord impl VehicleRecord enum PositionVisibility impl PositionVisibility enum PositionAccess impl PositionAccess struct BuildLoad impl BuildLoad struct BuildTotals struct VehicleAlert const VEHICLE_BEACON_VERTEX_KIND const BEACON_TOKEN_BYTES struct BeaconCredential const EARTH_RADIUS_M const NOW_MS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 110 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| VehicleRecord::newsrc/registry.rs:553 | method | 35 | 1 | 23 | 3 | 9.3 | |
| sprintersrc/registry.rs:1412 | fn | 117 | 1 | 27 | 2 | 7 | |
| normalize_enumsrc/registry.rs:1011 | fn | 3 | 1 | 4 | 0 | 5.7 | |
| push_track_pointsrc/registry.rs:1279 | fn | 18 | 3 | 5 | 1 | 4.3 | |
| VehiclePosition::from_pointsrc/registry.rs:380 | method | 11 | 1 | 1 | 1 | 4.1 | |
| skooliesrc/registry.rs:1572 | fn | 11 | 1 | 10 | 1 | 3.6 | |
| vansrc/registry.rs:540 | fn | 3 | 1 | 1 | 0 | 3.1 | |
| personalsrc/registry.rs:544 | fn | 3 | 1 | 1 | 0 | 3.1 | |
| activesrc/registry.rs:548 | fn | 3 | 1 | 1 | 0 | 3.1 | |
| owner_gatesrc/registry.rs:1049 | fn | 11 | 3 | 7 | 0 | 2.9 | |
| normalize_vehicle_idsrc/registry.rs:1002 | fn | 8 | 6 | 6 | 0 | 2.9 | |
| project_for_viewersrc/registry.rs:875 | fn | 16 | 4 | 13 | 2 | 2.7 | |
| position_accesssrc/registry.rs:858 | fn | 10 | 4 | 9 | 2 | 2.6 | |
| PositionVisibility::from_storedsrc/registry.rs:813 | method | 11 | 1 | 2 | 1 | 2.3 | |
| VehicleRecord::position_visibilitysrc/registry.rs:609 | method | 3 | 1 | 5 | 1 | 2 | |
| VehicleRecord::build_totalssrc/registry.rs:673 | method | 16 | 3 | 9 | 2 | 2 | |
| BuildComponent::is_installedsrc/registry.rs:288 | method | 3 | 1 | 4 | 0 | 2 | |
| caller_may_editsrc/registry.rs:763 | fn | 3 | 1 | 5 | 1 | 1.9 | |
| VehicleRecord::build_loadsrc/registry.rs:622 | method | 30 | 9 | 8 | 4 | 1.8 | |
| sprinter_poweredsrc/registry.rs:1536 | fn | 34 | 1 | 8 | 1 | 1.8 | |
| parse_vehiclesrc/registry.rs:1375 | fn | 4 | 1 | 4 | 1 | 1.7 | |
| coarse_positionsrc/registry.rs:897 | fn | 13 | 1 | 1 | 3 | 1.6 | |
| VehicleRecord::display_namesrc/registry.rs:591 | method | 15 | 6 | 8 | 0 | 1.6 | |
| VehicleRecord::payload_capacity_kgsrc/registry.rs:657 | method | 3 | 1 | 5 | 0 | 1.6 | |
| haversine_msrc/registry.rs:1195 | fn | 8 | 1 | 5 | 0 | 1.6 | |
| open_valuesrc/registry.rs:1026 | fn | 4 | 2 | 5 | 1 | 1.6 | |
| vehicle_vidsrc/registry.rs:1368 | fn | 3 | 1 | 3 | 1 | 1.5 | |
| BuildComponent::line_total_centssrc/registry.rs:284 | method | 3 | 1 | 3 | 0 | 1.5 | |
| load_vehiclesrc/registry.rs:1385 | fn | 6 | 1 | 9 | 3 | 1.5 | |
| list_vehiclessrc/registry.rs:1394 | fn | 11 | 1 | 5 | 2 | 1.4 | |
| attach_dtcssrc/registry.rs:1327 | fn | 10 | 3 | 3 | 0 | 1.4 | |
| coarse_fix_mssrc/registry.rs:913 | fn | 6 | 2 | 2 | 0 | 1.4 | |
| BuildZone::from_keysrc/registry.rs:221 | method | 4 | 1 | 3 | 1 | 1.3 | |
| save_vehiclesrc/registry.rs:1380 | fn | 4 | 1 | 9 | 2 | 1.3 | |
| near_cell_prefixessrc/registry.rs:1230 | fn | 36 | 9 | 2 | 3 | 1.3 | |
| VehiclePosition::coordinate_labelsrc/registry.rs:393 | method | 3 | 1 | 3 | 0 | 1.2 | |
| VehicleRecord::alertssrc/registry.rs:692 | method | 34 | 5 | 3 | 3 | 1.1 | |
| wrap_longitudesrc/registry.rs:1207 | fn | 7 | 2 | 2 | 0 | 1.1 | |
| beacon_vidsrc/registry.rs:1105 | fn | 3 | 1 | 2 | 1 | 1 | |
| require_unreserved_idsrc/registry.rs:1064 | fn | 8 | 2 | 2 | 0 | 1 | |
| trailedsrc/registry.rs:2062 | fn | 16 | 1 | 4 | 2 | 1 | |
| BuildComponent::line_weight_kgsrc/registry.rs:299 | method | 3 | 1 | 2 | 0 | 0.9 | |
| BuildComponent::daily_whsrc/registry.rs:306 | method | 5 | 1 | 2 | 0 | 0.9 | |
| require_knownsrc/registry.rs:1017 | fn | 7 | 2 | 4 | 1 | 0.9 | |
| VehicleDocument::remaining_mssrc/registry.rs:344 | method | 3 | 1 | 2 | 0 | 0.9 | |
| VehicleRecord::last_seen_mssrc/registry.rs:614 | method | 5 | 1 | 1 | 0 | 0.9 | |
| BuildComponent::power_unratedsrc/registry.rs:321 | method | 3 | 2 | 1 | 0 | 0.9 | |
| last4src/registry.rs:1032 | fn | 5 | 1 | 3 | 0 | 0.9 | |
| beacon_token_digestsrc/registry.rs:1116 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| load_beaconsrc/registry.rs:1140 | fn | 6 | 1 | 3 | 3 | 0.9 | |
| attach_snapshotsrc/registry.rs:1300 | fn | 25 | 2 | 2 | 2 | 0.9 | |
| attach_tripsrc/registry.rs:1339 | fn | 4 | 1 | 2 | 0 | 0.9 | |
| normalize_severitysrc/registry.rs:980 | fn | 8 | 5 | 1 | 0 | 0.8 | |
| severity_ranksrc/registry.rs:989 | fn | 7 | 3 | 1 | 0 | 0.8 | |
| vin_looks_validsrc/registry.rs:1041 | fn | 4 | 3 | 2 | 0 | 0.7 | |
| cell_in_prefixessrc/registry.rs:1269 | fn | 3 | 2 | 2 | 1 | 0.7 | |
| parse_beaconsrc/registry.rs:1130 | fn | 4 | 1 | 1 | 1 | 0.7 | |
| BuildComponent::zonesrc/registry.rs:293 | method | 3 | 1 | 1 | 1 | 0.7 | |
| VehicleRecord::shop_hrefsrc/registry.rs:734 | method | 7 | 1 | 3 | 0 | 0.7 | |
| digest_eqsrc/registry.rs:1123 | fn | 6 | 2 | 2 | 0 | 0.7 | |
| upsert_build_componentsrc/registry.rs:1347 | fn | 18 | 4 | 2 | 0 | 0.7 | |
| rotate_beaconsrc/registry.rs:1150 | fn | 18 | 1 | 3 | 4 | 0.7 | |
| mint_beacon_tokensrc/registry.rs:1112 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| graphsrc/registry.rs:1591 | fn | 3 | 1 | 3 | 0 | 0.7 | |
| BuildLoad::energy_is_partialsrc/registry.rs:954 | method | 3 | 1 | 2 | 0 | 0.7 | |
| VehiclePosition::osm_hrefsrc/registry.rs:399 | method | 3 | 1 | 2 | 0 | 0.7 | |
| VehiclePosition::osm_area_hrefsrc/registry.rs:406 | method | 3 | 1 | 2 | 0 | 0.7 | |
| VehicleRecord::chapter_hrefsrc/registry.rs:747 | method | 7 | 1 | 2 | 0 | 0.7 | |
| save_beaconsrc/registry.rs:1135 | fn | 4 | 1 | 1 | 2 | 0.6 | |
| BuildZone::labelsrc/registry.rs:207 | method | 10 | 6 | 1 | 0 | 0.6 | |
| VehicleRecord::payload_headroom_kgsrc/registry.rs:663 | method | 3 | 1 | 2 | 2 | 0.6 | |
| VehicleRecord::energy_headroom_whsrc/registry.rs:669 | method | 3 | 1 | 2 | 1 | 0.6 | |
| beacon_token_admitssrc/registry.rs:1172 | fn | 14 | 2 | 2 | 3 | 0.6 | |
| BuildLoad::weight_is_partialsrc/registry.rs:948 | method | 3 | 1 | 1 | 0 | 0.6 | |
| BuildZone::keysrc/registry.rs:195 | method | 10 | 6 | 0 | 0 | 0.5 | |
| onesrc/registry.rs:275 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| plannedsrc/registry.rs:279 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| BuildComponent::peak_wattssrc/registry.rs:314 | method | 3 | 1 | 0 | 0 | 0.5 | |
| VehicleRecord::alert_countsrc/registry.rs:727 | method | 3 | 1 | 0 | 1 | 0.5 | |
| PositionVisibility::keysrc/registry.rs:787 | method | 7 | 3 | 0 | 0 | 0.5 | |
| PositionVisibility::labelsrc/registry.rs:796 | method | 7 | 3 | 0 | 0 | 0.5 | |
| PositionAccess::keysrc/registry.rs:843 | method | 8 | 4 | 0 | 0 | 0.5 | |
| register_get_and_list_round_trip_through_the_graphsrc/registry.rs:1596 | fn | 28 | 1 | 0 | 6 | 0.5 | |
| a_malformed_row_is_skipped_not_fatalsrc/registry.rs:1626 | fn | 13 | 1 | 0 | 7 | 0.5 | |
| owner_gate_admits_the_owner_and_leaves_ownerless_records_opensrc/registry.rs:1641 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| the_track_caps_and_downsamplessrc/registry.rs:1653 | fn | 41 | 2 | 0 | 2 | 0.5 | |
| build_totals_multiply_quantity_and_split_installed_from_outstandingsrc/registry.rs:1696 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| alerts_report_expired_paper_first_then_expiring_then_codessrc/registry.rs:1708 | fn | 21 | 1 | 0 | 3 | 0.5 | |
| snapshot_and_trip_attachment_flatten_onto_the_recordsrc/registry.rs:1731 | fn | 49 | 2 | 0 | 6 | 0.5 | |
| dtcs_merge_by_code_without_duplicatingsrc/registry.rs:1782 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| build_upsert_adds_updates_and_removessrc/registry.rs:1798 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| normalizers_and_vocabularies_are_strict_where_they_must_besrc/registry.rs:1816 | fn | 18 | 1 | 0 | 5 | 0.5 | |
| display_name_falls_back_from_nickname_to_year_make_model_to_idsrc/registry.rs:1836 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| a_link_is_offered_only_where_an_app_serves_a_routesrc/registry.rs:1848 | fn | 23 | 1 | 0 | 4 | 0.5 | |
| build_zones_are_a_closed_vocabulary_with_stable_keyssrc/registry.rs:1873 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| the_build_load_reports_what_it_cannot_account_forsrc/registry.rs:1891 | fn | 23 | 2 | 0 | 5 | 0.5 | |
| payload_and_energy_limits_are_none_until_the_owner_sets_themsrc/registry.rs:1917 | fn | 21 | 1 | 0 | 5 | 0.5 | |
| a_reserved_id_is_refused_because_its_page_would_be_unreachablesrc/registry.rs:1940 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| the_edit_door_asks_exactly_what_the_owner_gate_askssrc/registry.rs:1950 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| a_beacon_token_is_stored_only_as_its_digestsrc/registry.rs:1961 | fn | 34 | 1 | 0 | 10 | 0.5 | |
| haversine_measures_real_distances_and_wraps_the_antimeridiansrc/registry.rs:1997 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| the_near_coarse_pass_never_drops_a_point_inside_the_radiussrc/registry.rs:2014 | fn | 34 | 5 | 0 | 4 | 0.5 | |
| a_position_labels_itself_and_links_to_openstreetmapsrc/registry.rs:2050 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| an_absent_visibility_reads_as_coarse_and_an_unknown_one_as_owner_onlysrc/registry.rs:2080 | fn | 19 | 1 | 0 | 4 | 0.5 | |
| the_owner_sees_the_precise_fix_and_the_trailsrc/registry.rs:2101 | fn | 14 | 1 | 0 | 3 | 0.5 | |
| an_anonymous_reader_and_a_signed_in_stranger_see_only_the_coarse_cellsrc/registry.rs:2119 | fn | 34 | 2 | 0 | 6 | 0.5 | |
| owner_only_hides_the_point_from_everyone_elsesrc/registry.rs:2155 | fn | 11 | 2 | 0 | 3 | 0.5 | |
| public_shows_the_precise_fix_but_never_the_trailsrc/registry.rs:2168 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| an_ownerless_record_is_precise_to_everyone_because_its_door_is_opensrc/registry.rs:2178 | fn | 16 | 1 | 0 | 4 | 0.5 | |
| a_coarse_clock_floors_to_the_quarter_hour_and_leaves_never_alonesrc/registry.rs:2196 | fn | 7 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.