relay-core 0.1.0-alpha.0

The core components of the Relay Protocol.
Documentation
1
2
3
4
5
6
7
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct PrivateEnvelope {
    pub content_type: String,
    pub message: Vec<u8>,
}