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-vehicle/src/registry.rs

cre8-app-vehicle · module registry · src · 2,203 lines (1,588 code, 426 comment) · sha 0ade4c495664c1db

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.

functionkindlinescyclomaticcallerscalleesweightcrystal
VehicleRecord::newsrc/registry.rs:553method3512339.3
sprintersrc/registry.rs:1412fn11712727
normalize_enumsrc/registry.rs:1011fn31405.7
push_track_pointsrc/registry.rs:1279fn183514.3
VehiclePosition::from_pointsrc/registry.rs:380method111114.1
skooliesrc/registry.rs:1572fn1111013.6
vansrc/registry.rs:540fn31103.1
personalsrc/registry.rs:544fn31103.1
activesrc/registry.rs:548fn31103.1
owner_gatesrc/registry.rs:1049fn113702.9
normalize_vehicle_idsrc/registry.rs:1002fn86602.9
project_for_viewersrc/registry.rs:875fn1641322.7
position_accesssrc/registry.rs:858fn104922.6
PositionVisibility::from_storedsrc/registry.rs:813method111212.3
VehicleRecord::position_visibilitysrc/registry.rs:609method31512
VehicleRecord::build_totalssrc/registry.rs:673method163922
BuildComponent::is_installedsrc/registry.rs:288method31402
caller_may_editsrc/registry.rs:763fn31511.9
VehicleRecord::build_loadsrc/registry.rs:622method309841.8
sprinter_poweredsrc/registry.rs:1536fn341811.8
parse_vehiclesrc/registry.rs:1375fn41411.7
coarse_positionsrc/registry.rs:897fn131131.6
VehicleRecord::display_namesrc/registry.rs:591method156801.6
VehicleRecord::payload_capacity_kgsrc/registry.rs:657method31501.6
haversine_msrc/registry.rs:1195fn81501.6
open_valuesrc/registry.rs:1026fn42511.6
vehicle_vidsrc/registry.rs:1368fn31311.5
BuildComponent::line_total_centssrc/registry.rs:284method31301.5
load_vehiclesrc/registry.rs:1385fn61931.5
list_vehiclessrc/registry.rs:1394fn111521.4
attach_dtcssrc/registry.rs:1327fn103301.4
coarse_fix_mssrc/registry.rs:913fn62201.4
BuildZone::from_keysrc/registry.rs:221method41311.3
save_vehiclesrc/registry.rs:1380fn41921.3
near_cell_prefixessrc/registry.rs:1230fn369231.3
VehiclePosition::coordinate_labelsrc/registry.rs:393method31301.2
VehicleRecord::alertssrc/registry.rs:692method345331.1
wrap_longitudesrc/registry.rs:1207fn72201.1
beacon_vidsrc/registry.rs:1105fn31211
require_unreserved_idsrc/registry.rs:1064fn82201
trailedsrc/registry.rs:2062fn161421
BuildComponent::line_weight_kgsrc/registry.rs:299method31200.9
BuildComponent::daily_whsrc/registry.rs:306method51200.9
require_knownsrc/registry.rs:1017fn72410.9
VehicleDocument::remaining_mssrc/registry.rs:344method31200.9
VehicleRecord::last_seen_mssrc/registry.rs:614method51100.9
BuildComponent::power_unratedsrc/registry.rs:321method32100.9
last4src/registry.rs:1032fn51300.9
beacon_token_digestsrc/registry.rs:1116fn31310.9
load_beaconsrc/registry.rs:1140fn61330.9
attach_snapshotsrc/registry.rs:1300fn252220.9
attach_tripsrc/registry.rs:1339fn41200.9
normalize_severitysrc/registry.rs:980fn85100.8
severity_ranksrc/registry.rs:989fn73100.8
vin_looks_validsrc/registry.rs:1041fn43200.7
cell_in_prefixessrc/registry.rs:1269fn32210.7
parse_beaconsrc/registry.rs:1130fn41110.7
BuildComponent::zonesrc/registry.rs:293method31110.7
VehicleRecord::shop_hrefsrc/registry.rs:734method71300.7
digest_eqsrc/registry.rs:1123fn62200.7
upsert_build_componentsrc/registry.rs:1347fn184200.7
rotate_beaconsrc/registry.rs:1150fn181340.7
mint_beacon_tokensrc/registry.rs:1112fn31210.7
graphsrc/registry.rs:1591fn31300.7
BuildLoad::energy_is_partialsrc/registry.rs:954method31200.7
VehiclePosition::osm_hrefsrc/registry.rs:399method31200.7
VehiclePosition::osm_area_hrefsrc/registry.rs:406method31200.7
VehicleRecord::chapter_hrefsrc/registry.rs:747method71200.7
save_beaconsrc/registry.rs:1135fn41120.6
BuildZone::labelsrc/registry.rs:207method106100.6
VehicleRecord::payload_headroom_kgsrc/registry.rs:663method31220.6
VehicleRecord::energy_headroom_whsrc/registry.rs:669method31210.6
beacon_token_admitssrc/registry.rs:1172fn142230.6
BuildLoad::weight_is_partialsrc/registry.rs:948method31100.6
BuildZone::keysrc/registry.rs:195method106000.5
onesrc/registry.rs:275fn31000.5
plannedsrc/registry.rs:279fn31000.5
BuildComponent::peak_wattssrc/registry.rs:314method31000.5
VehicleRecord::alert_countsrc/registry.rs:727method31010.5
PositionVisibility::keysrc/registry.rs:787method73000.5
PositionVisibility::labelsrc/registry.rs:796method73000.5
PositionAccess::keysrc/registry.rs:843method84000.5
register_get_and_list_round_trip_through_the_graphsrc/registry.rs:1596fn281060.5
a_malformed_row_is_skipped_not_fatalsrc/registry.rs:1626fn131070.5
owner_gate_admits_the_owner_and_leaves_ownerless_records_opensrc/registry.rs:1641fn101010.5
the_track_caps_and_downsamplessrc/registry.rs:1653fn412020.5
build_totals_multiply_quantity_and_split_installed_from_outstandingsrc/registry.rs:1696fn101030.5
alerts_report_expired_paper_first_then_expiring_then_codessrc/registry.rs:1708fn211030.5
snapshot_and_trip_attachment_flatten_onto_the_recordsrc/registry.rs:1731fn492060.5
dtcs_merge_by_code_without_duplicatingsrc/registry.rs:1782fn141020.5
build_upsert_adds_updates_and_removessrc/registry.rs:1798fn161030.5
normalizers_and_vocabularies_are_strict_where_they_must_besrc/registry.rs:1816fn181050.5
display_name_falls_back_from_nickname_to_year_make_model_to_idsrc/registry.rs:1836fn81030.5
a_link_is_offered_only_where_an_app_serves_a_routesrc/registry.rs:1848fn231040.5
build_zones_are_a_closed_vocabulary_with_stable_keyssrc/registry.rs:1873fn141030.5
the_build_load_reports_what_it_cannot_account_forsrc/registry.rs:1891fn232050.5
payload_and_energy_limits_are_none_until_the_owner_sets_themsrc/registry.rs:1917fn211050.5
a_reserved_id_is_refused_because_its_page_would_be_unreachablesrc/registry.rs:1940fn81010.5
the_edit_door_asks_exactly_what_the_owner_gate_askssrc/registry.rs:1950fn71030.5
a_beacon_token_is_stored_only_as_its_digestsrc/registry.rs:1961fn3410100.5
haversine_measures_real_distances_and_wraps_the_antimeridiansrc/registry.rs:1997fn131020.5
the_near_coarse_pass_never_drops_a_point_inside_the_radiussrc/registry.rs:2014fn345040.5
a_position_labels_itself_and_links_to_openstreetmapsrc/registry.rs:2050fn101040.5
an_absent_visibility_reads_as_coarse_and_an_unknown_one_as_owner_onlysrc/registry.rs:2080fn191040.5
the_owner_sees_the_precise_fix_and_the_trailsrc/registry.rs:2101fn141030.5
an_anonymous_reader_and_a_signed_in_stranger_see_only_the_coarse_cellsrc/registry.rs:2119fn342060.5
owner_only_hides_the_point_from_everyone_elsesrc/registry.rs:2155fn112030.5
public_shows_the_precise_fix_but_never_the_trailsrc/registry.rs:2168fn81030.5
an_ownerless_record_is_precise_to_everyone_because_its_door_is_opensrc/registry.rs:2178fn161040.5
a_coarse_clock_floors_to_the_quarter_hour_and_leaves_never_alonesrc/registry.rs:2196fn71010.5

Source not readable from this process.