pub struct AudienceChannelBinding {
pub kind: ChannelKind,
pub coordinates: BTreeMap<String, Value>,
}Expand description
The delivery coordinates an audience-bound envelope may be spent on
(§7.1.13). kind is drawn from the same closed set as the channel block;
every OTHER member is channel-shaped and flattened, mirroring
ChannelDescriptor.recipient_addressing’s opacity — APH core compares
these members for equality against the coordinates of the act being
performed and forms no other opinion about them.
The ONE wire struct in this module without deny_unknown_fields, and
deliberately: its open members ARE the payload. serde(flatten) makes
every unrecognized member a coordinate rather than an error, which is
exactly the semantics §8.3’s audience step assigns them (“compare each
member”).
Fields§
§kind: ChannelKindChannel kind, drawn from the closed set (§7.1.5).
coordinates: BTreeMap<String, Value>Every other member: the channel-shaped coordinates themselves
(teamId, channelId, an address — whatever the kind’s addressing
uses). Compared member-by-member; a member the act’s coordinates lack
is a mismatch, because a constraint that cannot be checked is refused
rather than skipped.