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-messaging/src/providers/whatsapp_cloud.rs
Items
struct WhatsAppCloudProvider const WHATSAPP_CHANNELS const WHATSAPP_COST_CENTS struct WhatsAppResponse struct WhatsAppMessageId struct WhatsAppError impl MessageProvider for WhatsAppCloudProvider
Functions
By call-graph weight (PageRank; 1.0 is the average function). 11 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| env_credssrc/providers/whatsapp_cloud.rs:55 | fn | 8 | 3 | 3 | 1 | 1.4 | |
| requestsrc/providers/whatsapp_cloud.rs:148 | fn | 13 | 1 | 2 | 0 | 0.8 | |
| WhatsAppCloudProvider::idsrc/providers/whatsapp_cloud.rs:65 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| WhatsAppCloudProvider::channelssrc/providers/whatsapp_cloud.rs:69 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| WhatsAppCloudProvider::is_availablesrc/providers/whatsapp_cloud.rs:73 | trait impl | 3 | 1 | 0 | 1 | 0.5 | |
| WhatsAppCloudProvider::unavailable_reasonsrc/providers/whatsapp_cloud.rs:77 | trait impl | 7 | 2 | 0 | 1 | 0.5 | |
| WhatsAppCloudProvider::cost_cents_per_callsrc/providers/whatsapp_cloud.rs:85 | trait impl | 6 | 2 | 0 | 0 | 0.5 | |
| WhatsAppCloudProvider::sendsrc/providers/whatsapp_cloud.rs:92 | trait impl | 49 | 6 | 0 | 4 | 0.5 | |
| channels_chat_onlysrc/providers/whatsapp_cloud.rs:163 | fn | 7 | 1 | 0 | 0 | 0.5 | |
| send_rejects_wrong_channel_missing_creds_and_empty_recipientsrc/providers/whatsapp_cloud.rs:172 | fn | 19 | 1 | 0 | 4 | 0.5 | |
| send_builds_cloud_api_request_when_configuredsrc/providers/whatsapp_cloud.rs:193 | fn | 10 | 2 | 0 | 2 | 0.5 |
Source not readable from this process.