Expand description
Domain types for the PCS External API client hot path.
No proto types appear here — crate::PcsExternalClient translates at
the wire boundary. These newtypes encode invariants the proto schema cannot
(ppnum format, recipient list size + dedup) so violations are caught at
construction, not at the wire.
Structs§
- Delivery
Event - A single lifecycle event from
crate::PcsExternalClient::stream_send_request_events. - Delivery
Stream - Wrapper stream returned by
crate::PcsExternalClient::stream_send_request_events. - Poll
Config - Optional poll configuration when the cited template includes a poll.
- Ppnum
- A validated Ppoppo number — the canonical recipient identifier.
- Recipient
- A single recipient entry: ppnum plus per-recipient template variables.
- Recipient
List - A validated batch of recipients enforcing both PCS quotas and SDK invariants:
- Send
Outcome - Outcome of a successful
crate::PcsExternalClient::send_alertcall. - Send
Request Id - Identifier for a previously-issued send request, returned from
crate::PcsExternalClient::send_alertand consumed bycrate::PcsExternalClient::get_send_status. - Send
Status - Aggregate status returned by
crate::PcsExternalClient::get_send_status. Per-recipient detail is out of scope for the hot path and reachable via the escape hatch when needed. - Send
Status Totals - Delivery counters within a
SendStatus. - Template
Id - Identifier for a registered template on the PCS External platform.
Enums§
- Delivery
Event Kind - Discriminated payload of a
DeliveryEvent. - Ppnum
Error - Construction-time error for a
Ppnum. - Recipient
List Error - Construction-time error for a
RecipientList. - Send
Request State - Domain mirror of proto
SendRequestStatus. Catch-allUnknownfor forward compatibility — proto enum addition won’t break consumers.