rust 1,880,059 · typescript 232,735 · javascript 134,784 · python 22,539 · 6,528 files · digest c5525c3879ae · built in 13.2 s · crystals off
crates/cre8-app-schedule/src/connection/mod.rs
Items
const SPECS struct ScheduleInput type ScheduleHandler struct ScheduleRoute const SCHEDULE_ROUTES const SUPPORTED_ACTIONS struct ScheduleInterval impl ScheduleInterval struct ReserveCommand impl TryFrom for ReserveCommand struct ReserveOutcome struct RecurCommand impl TryFrom for RecurCommand struct RecurOutcome enum OccurrenceOutcome struct ImportCommand enum ImportSource impl TryFrom for ImportCommand impl ImportSource struct ImportTarget const IMPORT_PROVIDER impl ImportTarget struct ImportOutcome struct ScheduleFilters impl ScheduleFilters struct CaldavPushCommand impl TryFrom for CaldavPushCommand struct CaldavPushSummary const H const DAY
Functions
By call-graph weight (PageRank; 1.0 is the average function). 97 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| connectsrc/connection/mod.rs:476 | fn | 32 | 9 | 7 | 11 | 4.6 | |
| parse_inputsrc/connection/mod.rs:1459 | fn | 3 | 1 | 13 | 0 | 3.6 | |
| required_inputsrc/connection/mod.rs:523 | fn | 3 | 1 | 5 | 0 | 2.2 | |
| verified_callersrc/connection/mod.rs:1271 | fn | 3 | 1 | 6 | 0 | 2.1 | |
| find_schedule_handlersrc/connection/mod.rs:509 | fn | 3 | 1 | 2 | 0 | 1.3 | |
| public_titlesrc/connection/mod.rs:1299 | fn | 7 | 3 | 3 | 0 | 1.2 | |
| ScheduleInterval::requiredsrc/connection/mod.rs:534 | method | 3 | 1 | 2 | 2 | 1.2 | |
| is_reservation_partysrc/connection/mod.rs:1290 | fn | 3 | 2 | 2 | 0 | 1.2 | |
| require_partysrc/connection/mod.rs:1280 | fn | 7 | 4 | 6 | 1 | 1.1 | |
| ScheduleInterval::newsrc/connection/mod.rs:538 | method | 3 | 2 | 2 | 0 | 1.1 | |
| RecurCommand::try_fromsrc/connection/mod.rs:705 | trait impl | 12 | 1 | 3 | 2 | 1 | |
| reserve_recurrence_occurrencesrc/connection/mod.rs:768 | fn | 20 | 2 | 1 | 5 | 1 | |
| import_feedsrc/connection/mod.rs:1109 | fn | 57 | 9 | 6 | 10 | 1 | |
| calendar_fetch_requestsrc/connection/mod.rs:932 | fn | 15 | 1 | 2 | 0 | 1 | |
| ical_text_from_fetch_responsesrc/connection/mod.rs:948 | fn | 6 | 2 | 2 | 0 | 1 | |
| reservation_for_callersrc/connection/mod.rs:1310 | fn | 13 | 2 | 3 | 2 | 0.9 | |
| reservation_fixturesrc/connection/mod.rs:1515 | fn | 3 | 1 | 4 | 2 | 0.9 | |
| import_targetsrc/connection/mod.rs:1706 | fn | 8 | 1 | 5 | 0 | 0.9 | |
| fetch_icalsrc/connection/mod.rs:925 | fn | 5 | 1 | 1 | 3 | 0.9 | |
| set_availability_handlersrc/connection/mod.rs:866 | fn | 13 | 2 | 2 | 5 | 0.9 | |
| find_slot_handlersrc/connection/mod.rs:812 | fn | 28 | 2 | 2 | 4 | 0.9 | |
| unknown_action_responsesrc/connection/mod.rs:513 | fn | 9 | 1 | 1 | 0 | 0.9 | |
| conflicts_handlersrc/connection/mod.rs:843 | fn | 20 | 1 | 2 | 5 | 0.8 | |
| ImportSource::from_inputsrc/connection/mod.rs:994 | method | 7 | 3 | 1 | 0 | 0.8 | |
| apply_caldav_push_resultsrc/connection/mod.rs:1439 | fn | 7 | 4 | 2 | 0 | 0.8 | |
| feed_handlersrc/connection/mod.rs:1228 | fn | 32 | 1 | 1 | 5 | 0.8 | |
| memory_contextsrc/connection/mod.rs:1511 | fn | 3 | 1 | 5 | 1 | 0.8 | |
| import_handlersrc/connection/mod.rs:1073 | fn | 22 | 1 | 1 | 8 | 0.7 | |
| caldav_push_handlersrc/connection/mod.rs:1373 | fn | 15 | 1 | 1 | 7 | 0.7 | |
| ScheduleFilters::from_inputsrc/connection/mod.rs:1336 | method | 3 | 1 | 1 | 0 | 0.7 | |
| reserve_handlersrc/connection/mod.rs:573 | fn | 16 | 2 | 1 | 6 | 0.7 | |
| cancel_handlersrc/connection/mod.rs:645 | fn | 19 | 1 | 1 | 5 | 0.7 | |
| complete_handlersrc/connection/mod.rs:667 | fn | 21 | 2 | 1 | 7 | 0.7 | |
| get_handlersrc/connection/mod.rs:888 | fn | 7 | 1 | 1 | 4 | 0.7 | |
| list_handlersrc/connection/mod.rs:896 | fn | 23 | 1 | 1 | 4 | 0.7 | |
| filtered_reservationssrc/connection/mod.rs:1389 | fn | 6 | 1 | 2 | 1 | 0.7 | |
| recur_handlersrc/connection/mod.rs:724 | fn | 17 | 1 | 1 | 8 | 0.7 | |
| list_availability_handlersrc/connection/mod.rs:880 | fn | 5 | 1 | 1 | 2 | 0.7 | |
| push_caldav_reservationssrc/connection/mod.rs:1396 | fn | 20 | 2 | 2 | 4 | 0.7 | |
| reserve_in_graphsrc/connection/mod.rs:590 | fn | 15 | 3 | 2 | 5 | 0.7 | |
| ImportCommand::try_fromsrc/connection/mod.rs:980 | trait impl | 11 | 1 | 2 | 2 | 0.7 | |
| ImportSource::default_keysrc/connection/mod.rs:1011 | method | 6 | 2 | 2 | 0 | 0.7 | |
| recurrence_reservationsrc/connection/mod.rs:789 | fn | 9 | 2 | 1 | 1 | 0.7 | |
| handle_schedule_feedsrc/connection/mod.rs:1496 | fn | 3 | 1 | 2 | 2 | 0.7 | |
| push_one_caldav_reservationsrc/connection/mod.rs:1420 | fn | 18 | 1 | 1 | 2 | 0.6 | |
| feed_summarysrc/connection/mod.rs:1263 | fn | 3 | 2 | 1 | 2 | 0.6 | |
| ImportTarget::import_idsrc/connection/mod.rs:1039 | method | 5 | 1 | 2 | 0 | 0.6 | |
| create_recurrence_reservationssrc/connection/mod.rs:746 | fn | 16 | 3 | 2 | 1 | 0.6 | |
| reservation_conflictssrc/connection/mod.rs:606 | fn | 10 | 1 | 1 | 1 | 0.6 | |
| build_reservationsrc/connection/mod.rs:617 | fn | 8 | 2 | 1 | 1 | 0.6 | |
| handle_schedule_importsrc/connection/mod.rs:1493 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| handle_schedule_caldav_pushsrc/connection/mod.rs:1499 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| ReserveCommand::try_fromsrc/connection/mod.rs:556 | trait impl | 10 | 1 | 1 | 2 | 0.6 | |
| reserve_responsesrc/connection/mod.rs:626 | fn | 16 | 2 | 1 | 0 | 0.6 | |
| CaldavPushCommand::try_fromsrc/connection/mod.rs:1357 | trait impl | 9 | 1 | 1 | 2 | 0.6 | |
| caldav_push_responsesrc/connection/mod.rs:1447 | fn | 9 | 1 | 1 | 0 | 0.6 | |
| import_reservation_idsrc/connection/mod.rs:1048 | fn | 5 | 1 | 1 | 0 | 0.6 | |
| is_import_reservationsrc/connection/mod.rs:1054 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| import_reservationsrc/connection/mod.rs:1167 | fn | 37 | 2 | 1 | 2 | 0.6 | |
| import_responsesrc/connection/mod.rs:1205 | fn | 20 | 1 | 1 | 0 | 0.6 | |
| recur_occurrencessrc/connection/mod.rs:742 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| recur_responsesrc/connection/mod.rs:799 | fn | 10 | 1 | 1 | 0 | 0.6 | |
| handle_schedule_reservesrc/connection/mod.rs:1463 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_cancelsrc/connection/mod.rs:1466 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_completesrc/connection/mod.rs:1469 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_conflictssrc/connection/mod.rs:1478 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_set_availabilitysrc/connection/mod.rs:1481 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_getsrc/connection/mod.rs:1487 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_listsrc/connection/mod.rs:1490 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| import_titlessrc/connection/mod.rs:1715 | fn | 9 | 1 | 1 | 1 | 0.6 | |
| handle_schedule_recursrc/connection/mod.rs:1472 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_schedule_find_slotsrc/connection/mod.rs:1475 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_schedule_list_availabilitysrc/connection/mod.rs:1484 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| opt_i64src/connection/mod.rs:356 | fn | 7 | 3 | 0 | 0 | 0.5 | |
| fetch_icalsrc/connection/mod.rs:956 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| ImportSource::loadsrc/connection/mod.rs:1002 | method | 6 | 2 | 0 | 1 | 0.5 | |
| ScheduleFilters::matchessrc/connection/mod.rs:1340 | method | 5 | 3 | 0 | 0 | 0.5 | |
| default_action_is_listsrc/connection/mod.rs:1520 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| parses_recur_inputsrc/connection/mod.rs:1526 | fn | 15 | 1 | 0 | 0 | 0.5 | |
| recur_command_defaults_window_start_and_rejects_missing_fieldssrc/connection/mod.rs:1543 | fn | 29 | 1 | 0 | 1 | 0.5 | |
| slot_and_availability_handlers_validate_before_graph_accesssrc/connection/mod.rs:1574 | fn | 24 | 1 | 0 | 3 | 0.5 | |
| conflicts_and_import_commands_validate_and_default_before_graph_accesssrc/connection/mod.rs:1600 | fn | 46 | 1 | 0 | 4 | 0.5 | |
| recurrence_and_import_helpers_record_conflict_outcomessrc/connection/mod.rs:1648 | fn | 57 | 1 | 0 | 10 | 0.5 | |
| reimporting_a_source_replaces_its_earlier_importsrc/connection/mod.rs:1726 | fn | 58 | 3 | 0 | 6 | 0.5 | |
| a_narrower_reimport_keeps_history_outside_its_windowsrc/connection/mod.rs:1786 | fn | 21 | 1 | 0 | 4 | 0.5 | |
| import_honours_tzid_and_all_day_eventssrc/connection/mod.rs:1809 | fn | 22 | 1 | 0 | 3 | 0.5 | |
| reserve_and_import_graph_wrappers_record_conflicts_and_recurrencessrc/connection/mod.rs:1833 | fn | 45 | 1 | 0 | 5 | 0.5 | |
| schedule_handlers_cover_slot_search_and_reservation_lifecyclesrc/connection/mod.rs:1880 | fn | 129 | 1 | 0 | 12 | 0.5 | |
| feed_hides_invitee_names_from_everyone_but_the_resource_ownersrc/connection/mod.rs:2011 | fn | 20 | 1 | 0 | 7 | 0.5 | |
| only_a_party_changes_a_calendarsrc/connection/mod.rs:2033 | fn | 35 | 2 | 0 | 11 | 0.5 | |
| list_get_and_conflicts_show_who_booked_only_to_a_partysrc/connection/mod.rs:2070 | fn | 42 | 7 | 0 | 11 | 0.5 | |
| import_feed_and_caldav_plans_use_public_envelopes_without_native_fetchsrc/connection/mod.rs:2114 | fn | 48 | 1 | 0 | 4 | 0.5 | |
| calendar_fetch_helpers_shape_url_import_contract_without_native_iosrc/connection/mod.rs:2164 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| caldav_push_helpers_encode_auth_and_record_status_bandssrc/connection/mod.rs:2185 | fn | 20 | 1 | 0 | 3 | 0.5 | |
| caldav_push_writes_each_reservation_under_its_own_idsrc/connection/mod.rs:2207 | fn | 22 | 3 | 0 | 4 | 0.5 | |
| caldav_filters_drop_cancelled_and_nonmatching_reservationssrc/connection/mod.rs:2231 | fn | 18 | 2 | 0 | 3 | 0.5 | |
| route_table_covers_action_aliasessrc/connection/mod.rs:2251 | fn | 6 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.