rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 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:1455 | 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:1267 | 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:1295 | 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:1286 | fn | 3 | 2 | 2 | 0 | 1.2 | |
| require_partysrc/connection/mod.rs:1276 | 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:1106 | 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:1306 | fn | 13 | 2 | 3 | 2 | 0.9 | |
| reservation_fixturesrc/connection/mod.rs:1511 | fn | 3 | 1 | 4 | 2 | 0.9 | |
| import_targetsrc/connection/mod.rs:1702 | 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.8 | |
| 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:1435 | fn | 7 | 4 | 2 | 0 | 0.8 | |
| feed_handlersrc/connection/mod.rs:1224 | fn | 32 | 1 | 1 | 5 | 0.8 | |
| memory_contextsrc/connection/mod.rs:1507 | fn | 3 | 1 | 5 | 1 | 0.8 | |
| import_handlersrc/connection/mod.rs:1070 | fn | 22 | 1 | 1 | 8 | 0.7 | |
| caldav_push_handlersrc/connection/mod.rs:1369 | fn | 15 | 1 | 1 | 7 | 0.7 | |
| ScheduleFilters::from_inputsrc/connection/mod.rs:1332 | 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:1385 | 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:1392 | 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:1492 | fn | 3 | 1 | 2 | 2 | 0.7 | |
| push_one_caldav_reservationsrc/connection/mod.rs:1416 | fn | 18 | 1 | 1 | 2 | 0.6 | |
| feed_summarysrc/connection/mod.rs:1259 | fn | 3 | 2 | 1 | 2 | 0.6 | |
| ImportTarget::import_idsrc/connection/mod.rs:1039 | method | 4 | 1 | 2 | 1 | 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:1489 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| handle_schedule_caldav_pushsrc/connection/mod.rs:1495 | 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:1353 | trait impl | 9 | 1 | 1 | 2 | 0.6 | |
| caldav_push_responsesrc/connection/mod.rs:1443 | fn | 9 | 1 | 1 | 0 | 0.6 | |
| import_reservation_idsrc/connection/mod.rs:1047 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| is_import_reservationsrc/connection/mod.rs:1051 | fn | 6 | 2 | 1 | 0 | 0.6 | |
| import_reservationsrc/connection/mod.rs:1164 | fn | 36 | 2 | 1 | 3 | 0.6 | |
| import_responsesrc/connection/mod.rs:1201 | 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:1459 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_cancelsrc/connection/mod.rs:1462 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_completesrc/connection/mod.rs:1465 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_conflictssrc/connection/mod.rs:1474 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_set_availabilitysrc/connection/mod.rs:1477 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_getsrc/connection/mod.rs:1483 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| handle_schedule_listsrc/connection/mod.rs:1486 | fn | 3 | 1 | 2 | 2 | 0.6 | |
| import_titlessrc/connection/mod.rs:1711 | fn | 9 | 1 | 1 | 1 | 0.6 | |
| handle_schedule_recursrc/connection/mod.rs:1468 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_schedule_find_slotsrc/connection/mod.rs:1471 | fn | 3 | 1 | 1 | 2 | 0.5 | |
| handle_schedule_list_availabilitysrc/connection/mod.rs:1480 | 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:1336 | method | 5 | 3 | 0 | 0 | 0.5 | |
| default_action_is_listsrc/connection/mod.rs:1516 | fn | 4 | 1 | 0 | 0 | 0.5 | |
| parses_recur_inputsrc/connection/mod.rs:1522 | fn | 15 | 1 | 0 | 0 | 0.5 | |
| recur_command_defaults_window_start_and_rejects_missing_fieldssrc/connection/mod.rs:1539 | fn | 29 | 1 | 0 | 1 | 0.5 | |
| slot_and_availability_handlers_validate_before_graph_accesssrc/connection/mod.rs:1570 | fn | 24 | 1 | 0 | 3 | 0.5 | |
| conflicts_and_import_commands_validate_and_default_before_graph_accesssrc/connection/mod.rs:1596 | fn | 46 | 1 | 0 | 4 | 0.5 | |
| recurrence_and_import_helpers_record_conflict_outcomessrc/connection/mod.rs:1644 | fn | 57 | 1 | 0 | 10 | 0.5 | |
| reimporting_a_source_replaces_its_earlier_importsrc/connection/mod.rs:1722 | fn | 58 | 3 | 0 | 6 | 0.5 | |
| a_narrower_reimport_keeps_history_outside_its_windowsrc/connection/mod.rs:1782 | fn | 21 | 1 | 0 | 4 | 0.5 | |
| import_honours_tzid_and_all_day_eventssrc/connection/mod.rs:1805 | fn | 22 | 1 | 0 | 3 | 0.5 | |
| reserve_and_import_graph_wrappers_record_conflicts_and_recurrencessrc/connection/mod.rs:1829 | fn | 45 | 1 | 0 | 5 | 0.5 | |
| schedule_handlers_cover_slot_search_and_reservation_lifecyclesrc/connection/mod.rs:1876 | fn | 129 | 1 | 0 | 12 | 0.5 | |
| feed_hides_invitee_names_from_everyone_but_the_resource_ownersrc/connection/mod.rs:2007 | fn | 20 | 1 | 0 | 7 | 0.5 | |
| only_a_party_changes_a_calendarsrc/connection/mod.rs:2029 | fn | 35 | 2 | 0 | 11 | 0.5 | |
| list_get_and_conflicts_show_who_booked_only_to_a_partysrc/connection/mod.rs:2066 | fn | 42 | 7 | 0 | 11 | 0.5 | |
| import_feed_and_caldav_plans_use_public_envelopes_without_native_fetchsrc/connection/mod.rs:2110 | fn | 48 | 1 | 0 | 4 | 0.5 | |
| calendar_fetch_helpers_shape_url_import_contract_without_native_iosrc/connection/mod.rs:2160 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| caldav_push_helpers_encode_auth_and_record_status_bandssrc/connection/mod.rs:2181 | fn | 20 | 1 | 0 | 3 | 0.5 | |
| caldav_push_writes_each_reservation_under_its_own_idsrc/connection/mod.rs:2203 | fn | 22 | 3 | 0 | 4 | 0.5 | |
| caldav_filters_drop_cancelled_and_nonmatching_reservationssrc/connection/mod.rs:2227 | fn | 18 | 2 | 0 | 3 | 0.5 | |
| route_table_covers_action_aliasessrc/connection/mod.rs:2247 | fn | 6 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.