fractal-matrix-api 4.2.0

Library to communicate with a Matrix.org server
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde_json::Value as JsonValue;

#[derive(Debug, Clone)]
pub struct Event {
    pub sender: String,
    pub stype: String,
    pub room: String,
    pub id: String,
    pub content: JsonValue,
}

impl PartialEq for Event {
    fn eq(&self, other: &Event) -> bool {
        self.id == other.id
    }
}