pub struct ChannelProviderReport {
pub short_name: &'static str,
pub provider_id: &'static str,
pub direction: &'static str,
pub identity: &'static str,
pub interactions: &'static [&'static str],
pub content: &'static [&'static str],
pub delivery_receipts: &'static [&'static str],
}Expand description
std.messaging v1 provider capability report (spec/std-messaging.md
“Capability reports + conditioned checks”). Reports are DATA, never code
(M8): these compiled constants are mirrored by the embedded std.messaging
manifest’s bindings[].config.report rows, and the conditioned static
checks below admit syntax only when the selected provider’s report
supports it. Report axes are messaging.md “Provider Capability Report”
narrowed for v1: delivery_receipts ⊆ {accepted, failed}; identity ⊆
{anonymous, claimed_actor} (no verified_actor provider exists, so any
check demanding verified identity fails closed); content ⊆
{text, markdown}.
Fields§
§short_name: &'static strThe short channel-declaration identifier (provider <short_name>).
provider_id: &'static strThe binding-row provider id the short name resolves to.
direction: &'static stroutbound_only | inbound_only | bidirectional.
identity: &'static stranonymous | claimed_actor.
interactions: &'static [&'static str]Interaction families the provider can deliver callbacks for.
content: &'static [&'static str]Payload content kinds the provider accepts.
delivery_receipts: &'static [&'static str]Receipt statuses the provider can report.
Trait Implementations§
Source§impl Clone for ChannelProviderReport
impl Clone for ChannelProviderReport
Source§fn clone(&self) -> ChannelProviderReport
fn clone(&self) -> ChannelProviderReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more