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-auction/src/model.rs

cre8-app-auction · module model · src · 734 lines (615 code, 68 comment) · sha 2c3a3569250aa1f7

Items

const LOT_ID_PREFIX const BID_ID_PREFIX const MIN_DURATION_MS const MAX_DURATION_MS const MAX_SCHEDULE_AHEAD_MS const PRESET_DURATION_DAYS const DEFAULT_PAYMENT_WINDOW_H const MIN_PAYMENT_WINDOW_H const MAX_PAYMENT_WINDOW_H const MIN_EXTEND_WINDOW_S const MAX_EXTEND_WINDOW_S const MAX_TOTAL_EXTENSION_MS enum LotState impl LotState enum Phase impl Phase enum Outcome impl Outcome enum Settlement impl Settlement struct Terms impl Terms struct BidRecord struct Leader struct Standing impl Standing struct Lot enum Audience impl Lot

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
format_minorsrc/model.rs:375fn52603.3
bid_increment_minorsrc/model.rs:41fn1410503
termssrc/model.rs:569fn111901.9
bidsrc/model.rs:581fn121801.5
standingsrc/model.rs:284fn448911.4
parse_majorsrc/model.rs:383fn2111201.4
Lot::phasesrc/model.rs:449method971001.3
Standing::leader_idsrc/model.rs:277method31601
Standing::minimum_next_bidsrc/model.rs:269method72210.8
Lot::settlement_atsrc/model.rs:461method63400.8
extended_endsrc/model.rs:357fn115200.7
public_historysrc/model.rs:539fn253200.7
buy_now_opensrc/model.rs:370fn32300.7
check_bidsrc/model.rs:331fn236220.6
Lot::audiencesrc/model.rs:468method75100.6
Settlement::as_strsrc/model.rs:158method84300.6
LotState::parsesrc/model.rs:76method84100.6
Outcome::parsesrc/model.rs:131method95100.6
Settlement::parsesrc/model.rs:167method95100.6
Outcome::has_winnersrc/model.rs:141method31100.5
Outcome::as_strsrc/model.rs:122method84100.5
LotState::as_strsrc/model.rs:68method73000.5
Phase::as_strsrc/model.rs:99method95000.5
Terms::validatesrc/model.rs:193method3512000.5
Lot::to_jsonsrc/model.rs:479method564030.5
increments_follow_the_price_tierssrc/model.rs:595fn81010.5
a_lone_bidder_holds_the_lead_at_the_starting_pricesrc/model.rs:605fn71050.5
the_price_is_the_second_maximum_plus_one_incrementsrc/model.rs:614fn61040.5
the_price_never_passes_the_leaders_maximumsrc/model.rs:622fn61040.5
equal_maximums_go_to_whoever_reached_it_firstsrc/model.rs:630fn81040.5
a_higher_maximum_takes_the_leadsrc/model.rs:640fn61040.5
a_reserve_lifts_the_price_when_met_and_holds_the_sale_when_notsrc/model.rs:648fn121030.5
bids_below_the_minimum_and_leader_lowballs_are_refusedsrc/model.rs:662fn121040.5
anti_sniping_extends_only_late_moving_bids_and_stays_cappedsrc/model.rs:676fn111020.5
terms_are_checked_against_ebays_rulessrc/model.rs:689fn181010.5
money_inputs_parse_to_minor_unitssrc/model.rs:709fn101020.5
public_history_hides_every_maximum_but_the_viewers_ownsrc/model.rs:721fn131020.5

Source not readable from this process.