pub trait HasSyncEnvelope {
// Required method
fn envelope_mut(&mut self) -> &mut SyncEnvelope;
}Expand description
Records that carry a SyncEnvelope expose it via this trait so
the bridge crate can stamp the schemaVersion field uniformly
across resources. One-line impl per record type:
ⓘ
impl HasSyncEnvelope for VoiceCallRecord {
fn envelope_mut(&mut self) -> &mut SyncEnvelope { &mut self.envelope }
}