rustybook-messenger 0.2.1

Messenger client for Rustybook
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde_json::Value;

use crate::gateway::lightspeed::payload::Payload;
use crate::gateway::lightspeed::request_id::RequestId;
use crate::gateway::lightspeed::sp::Sp;
use crate::gateway::lightspeed::topic::Topic;

#[derive(Debug, Clone)]
pub struct Envelope {
    pub topic: Topic,
    pub request_id: RequestId,
    pub sp: Vec<Sp>,
    pub target: Option<i64>,
    pub payload: Payload,
    pub raw: Value,
}