Skip to content
1 viewer

rust 1,859,968 · typescript 235,218 · javascript 132,952 · python 20,426 · 6,406 files · digest c536f05fc420 · built in 1.4 s · crystals off

crates/cre8-app-energy/src/model.rs

cre8-app-energy · module model · src · 244 lines (195 code, 26 comment) · sha c87a3fc6f0514f77

Items

const KIND_ENERGY_SITE const MIN_CAPACITY_W const MAX_CAPACITY_W struct EnergySite impl EnergySite

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
EnergySite::newsrc/model.rs:69method301523.5
EnergySite::site_kindsrc/model.rs:100method31312.2
derive_site_idsrc/model.rs:64fn31112
parse_sitesrc/model.rs:164fn171251.2
list_sitessrc/model.rs:158fn51421.2
EnergySite::specsrc/model.rs:105method81711.2
sitesrc/model.rs:191fn31311.1
upsert_sitesrc/model.rs:149fn41431
load_sitesrc/model.rs:154fn31330.8
validate_sitesrc/model.rs:130fn187110.8
graphsrc/model.rs:187fn31200.7
EnergySite::propssrc/model.rs:114method141000.5
round_trip_preserves_meter_statesrc/model.rs:196fn121050.5
metering_starts_on_the_next_bucket_boundarysrc/model.rs:210fn51010.5
validation_rejects_bad_sitessrc/model.rs:217fn181030.5
same_name_different_placement_or_time_stays_distinctsrc/model.rs:237fn71010.5

Source not readable from this process.