rsky-firehose 0.0.1

A framework for subscribing to the AT Protocol firehose, in Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#[derive(Clone, Debug, PartialEq, Default, Serialize, Deserialize)]
pub struct CreateOp<T> {
    #[serde(rename = "uri")]
    pub uri: String,
    #[serde(rename = "cid")]
    pub cid: String,
    #[serde(rename = "sequence")]
    pub sequence: i64,
    #[serde(rename = "prev")]
    pub prev: Option<String>,
    #[serde(rename = "author")]
    pub author: String,
    #[serde(rename = "record")]
    pub record: T,
}