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-schedule/src/connection.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.rs:473 | fn | 32 | 9 | 7 | 11 | 4.6 | |
| parse_inputsrc/connection.rs:1456 | fn | 3 | 1 | 13 | 0 | 3.7 | |
| required_inputsrc/connection.rs:520 | fn | 3 | 1 | 5 | 0 | 2.2 | |
| verified_callersrc/connection.rs:1268 | fn | 3 | 1 | 6 | 0 | 2.1 | |
| find_schedule_handlersrc/connection.rs:506 | fn | 3 | 1 | 2 | 0 | 1.3 | |
| public_titlesrc/connection.rs:1296 | fn | 7 | 3 | 3 | 0 | 1.2 | |
| ScheduleInterval::requiredsrc/connection.rs:531 | method | 3 | 1 | 2 | 2 | 1.2 | |
| is_reservation_partysrc/connection.rs:1287 | fn | 3 | 2 | 2 | 0 | 1.2 | |
| require_partysrc/connection.rs:1277 | fn | 7 | 4 | 6 | 1 | 1.1 | |
| ScheduleInterval::newsrc/connection.rs:535 | method | 3 | 2 | 2 | 0 | 1.1 | |
| RecurCommand::try_fromsrc/connection.rs:702 | trait impl | 12 | 1 | 3 | 2 | 1 | |
| reserve_recurrence_occurrencesrc/connection.rs:765 | fn | 20 | 2 | 1 | 5 | 1 | |
| import_feedsrc/connection.rs:1106 | fn | 57 | 9 | 6 | 10 | 1 | |
| calendar_fetch_requestsrc/connection.rs:929 | fn | 15 | 1 | 2 | 0 | 1 | |
| ical_text_from_fetch_responsesrc/connection.rs:945 | fn | 6 | 2 | 2 | 0 | 1 | |
| reservation_for_callersrc/connection.rs:1307 | fn | 13 | 2 | 3 | 2 | 1 | |
| reservation_fixturesrc/connection.rs:1512 | fn | 3 | 1 | 4 | 2 | 1 | |
| import_targetsrc/connection.rs:1703 | fn | 8 | 1 | 5 | 0 | 0.9 | |
| fetch_icalsrc/connection.rs:922 | fn | 5 | 1 | 1 | 3 | 0.9 | |
| set_availability_handlersrc/connection.rs:863 | fn | 13 | 2 | 2 | 5 | 0.9 | |
| find_slot_handlersrc/connection.rs:809 | fn | 28 | 2 | 2 | 4 | 0.9 | |
| unknown_action_responsesrc/connection.rs:510 | fn | 9 | 1 | 1 | 0 | 0.9 | |
| conflicts_handlersrc/connection.rs:840 | fn | 20 | 1 | 2 | 5 | 0.8 | |
| ImportSource::from_inputsrc/connection.rs:991 | method | 7 | 3 | 1 | 0 | 0.8 | |
| apply_caldav_push_resultsrc/connection.rs:1436 | fn | 7 | 4 | 2 | 0 | 0.8 | |
| feed_handlersrc/connection.rs:1225 | fn | 32 | 1 | 1 | 5 | 0.8 | |
| memory_contextsrc/connection.rs:1508 | fn | 3 | 1 | 5 | 1 | 0.8 | |
| import_handlersrc/connection.rs:1070 | fn | 22 | 1 | 1 | 8 | 0.8 | |
| caldav_push_handlersrc/connection.rs:1370 | fn | 15 | 1 | 1 | 7 | 0.8 | |
| ScheduleFilters::from_inputsrc/connection.rs:1333 | method | 3 | 1 | 1 | 0 | 0.7 | |
| reserve_handlersrc/connection.rs:570 | fn | 16 | 2 | 1 | 6 | 0.7 | |
| cancel_handlersrc/connection.rs:642 | fn | 19 | 1 | 1 | 5 | 0.7 | |
| complete_handlersrc/connection.rs:664 | fn | 21 | 2 | 1 | 7 | 0.7 | |
| get_handlersrc/connection.rs:885 | fn | 7 | 1 | 1 | 4 | 0.7 | |
| list_handlersrc/connection.rs:893 | fn | 23 | 1 | 1 | 4 | 0.7 | |
| filtered_reservationssrc/connection.rs:1386 | fn | 6 | 1 | 2 | 1 | 0.7 | |
| recur_handlersrc/connection.rs:721 | fn | 17 | 1 | 1 | 8 | 0.7 | |
| list_availability_handlersrc/connection.rs:877 | fn | 5 | 1 | 1 | 2 | 0.7 | |
| push_caldav_reservationssrc/connection.rs:1393 | fn | 20 | 2 | 2 | 4 | 0.7 | |
| reserve_in_graphsrc/connection.rs:587 | fn | 15 | 3 | 2 | 5 | 0.7 | |
| ImportCommand::try_fromsrc/connection.rs:977 | trait impl | 11 | 1 | 2 | 2 | 0.7 | |
| ImportSource::default_keysrc/connection.rs:1008 | method | 6 | 2 | 2 | 0 | 0.7 | |
| recurrence_reservationsrc/connection.rs:786 | fn | 9 | 2 | 1 | 1 | 0.7 | |
| handle_schedule_feedsrc/connection.rs:1493 | fn | 3 | 1 | 2 | 2 | 0.7 | |
| push_one_caldav_reservationsrc/connection.rs:1417 | fn | 18 | 1 | 1 | 2 | 0.6 | |
| feed_summarysrc/connection.rs:1260 | fn | 3 | 2 | 1 | 2 | 0.6 | |
| ImportTarget::import_idsrc/connection.rs:1036 | method | 5 | 1 | 2 | 0 | 0.6 | |
| create_recurrence_reservationssrc/connection.rs:743 | fn | 16 | 3 | 2 | 1 | 0.6 | |
| reservation_conflictssrc/connection.rs:603 | fn | 10 | 1 | 1 | 1 | 0.6 | |
| build_reservationsrc/connection.rs:614 | fn | 8 | 2 | 1 | 1 | 0.6 | |
| handle_schedule_importsrc/connection.rs:1490 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| handle_schedule_caldav_pushsrc/connection.rs:1496 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| ReserveCommand::try_fromsrc/connection.rs:553 | trait impl | 10 | 1 | 1 | 2 | 0.6 | |
| reserve_responsesrc/connection.rs:623 | fn | 16 | 2 | 1 | 0 | 0.6 | |
| CaldavPushCommand::try_fromsrc/connection.rs:1354 | trait impl | 9 | 1 | 1 | 2 | 0.6 | |
| caldav_push_responsesrc/connection.rs:1444 | fn | 9 | 1 | 1 | 0 | 0.6 | |
| import_reservation_idsrc/connection.rs:1045 | fn | 5 | 1 | 1 | 0 | 0.6 | |
| is_import_reservationsrc/connection.rs:1051 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| import_reservationsrc/connection.rs:1164 | fn | 37 | 2 | 1 | 2 | 0.6 | |
| import_responsesrc/connection.rs:1202 | fn | 20 | 1 | 1 | 0 | 0.6 | |
| recur_occurrencessrc/connection.rs:739 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| recur_responsesrc/connection.rs:796 | fn | 10 | 1 | 1 | 0 | 0.6 | |
| handle_schedule_reservesrc/connection.rs:1460 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_cancelsrc/connection.rs:1463 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_completesrc/connection.rs:1466 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_conflictssrc/connection.rs:1475 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_set_availabilitysrc/connection.rs:1478 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_getsrc/connection.rs:1484 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_listsrc/connection.rs:1487 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| import_titlessrc/connection.rs:1712 | fn | 9 | 1 | 1 | 1 | 0.6 | |
| handle_schedule_recursrc/connection.rs:1469 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_schedule_find_slotsrc/connection.rs:1472 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_schedule_list_availabilitysrc/connection.rs:1481 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| opt_i64src/connection.rs:353 | fn | 7 | 3 | 0 | 0 | 0.5 | |
| fetch_icalsrc/connection.rs:953 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| ImportSource::loadsrc/connection.rs:999 | method | 6 | 2 | 0 | 1 | 0.5 | |
| ScheduleFilters::matchessrc/connection.rs:1337 | method | 5 | 3 | 0 | 0 | 0.5 | |
| default_action_is_listsrc/connection.rs:1517 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| parses_recur_inputsrc/connection.rs:1523 | fn | 15 | 1 | 0 | 0 | 0.5 | |
| recur_command_defaults_window_start_and_rejects_missing_fieldssrc/connection.rs:1540 | fn | 29 | 1 | 0 | 1 | 0.5 | |
| slot_and_availability_handlers_validate_before_graph_accesssrc/connection.rs:1571 | fn | 24 | 1 | 0 | 3 | 0.5 | |
| conflicts_and_import_commands_validate_and_default_before_graph_accesssrc/connection.rs:1597 | fn | 46 | 1 | 0 | 4 | 0.5 | |
| recurrence_and_import_helpers_record_conflict_outcomessrc/connection.rs:1645 | fn | 57 | 1 | 0 | 10 | 0.5 | |
| reimporting_a_source_replaces_its_earlier_importsrc/connection.rs:1723 | fn | 58 | 3 | 0 | 6 | 0.5 | |
| a_narrower_reimport_keeps_history_outside_its_windowsrc/connection.rs:1783 | fn | 21 | 1 | 0 | 4 | 0.5 | |
| import_honours_tzid_and_all_day_eventssrc/connection.rs:1806 | fn | 22 | 1 | 0 | 3 | 0.5 | |
| reserve_and_import_graph_wrappers_record_conflicts_and_recurrencessrc/connection.rs:1830 | fn | 45 | 1 | 0 | 5 | 0.5 | |
| schedule_handlers_cover_slot_search_and_reservation_lifecyclesrc/connection.rs:1877 | fn | 129 | 1 | 0 | 12 | 0.5 | |
| feed_hides_invitee_names_from_everyone_but_the_resource_ownersrc/connection.rs:2008 | fn | 20 | 1 | 0 | 7 | 0.5 | |
| only_a_party_changes_a_calendarsrc/connection.rs:2030 | fn | 35 | 2 | 0 | 11 | 0.5 | |
| list_get_and_conflicts_show_who_booked_only_to_a_partysrc/connection.rs:2067 | fn | 42 | 7 | 0 | 11 | 0.5 | |
| import_feed_and_caldav_plans_use_public_envelopes_without_native_fetchsrc/connection.rs:2111 | fn | 48 | 1 | 0 | 4 | 0.5 | |
| calendar_fetch_helpers_shape_url_import_contract_without_native_iosrc/connection.rs:2161 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| caldav_push_helpers_encode_auth_and_record_status_bandssrc/connection.rs:2182 | fn | 20 | 1 | 0 | 3 | 0.5 | |
| caldav_push_writes_each_reservation_under_its_own_idsrc/connection.rs:2204 | fn | 22 | 3 | 0 | 4 | 0.5 | |
| caldav_filters_drop_cancelled_and_nonmatching_reservationssrc/connection.rs:2228 | fn | 18 | 2 | 0 | 3 | 0.5 | |
| route_table_covers_action_aliasessrc/connection.rs:2248 | fn | 6 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.