#[non_exhaustive]pub struct PeerMessage {
pub sender_label: String,
pub sender_session_id: Option<String>,
pub remote: bool,
pub body: String,
}Expand description
peerMessage: the four facts the consumed card renders. The fold reads them
from the drained inbox record’s delivery snapshot; senderLabel already ran
the gate-off label rule host-side, so the client renders it verbatim. Stable
from day one (the scheduledFire precedent): no x-msp-stability marker.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.sender_label: StringThe peer label gate-off shows: the sender name when the
durable record names one, else the sender id shortened as
gate-off shortens it, else unknown session — and remote session verbatim for a remote sender.
sender_session_id: Option<String>The local sender’s session id; absent for remote senders and when the record names none.
remote: boolTrue for mailbox/remote senders, false for local session senders.
body: StringThe message text verbatim — never cut (an over-budget event
answers the typed pageEventTooLarge arm).