elefren 0.22.0

A wrapper around the Mastodon API.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use entities::{notification::Notification, status::Status};

#[derive(Debug, Clone)]
/// Events that come from the /streaming/user API call
pub enum Event {
    /// Update event
    Update(Status),
    /// Notification event
    Notification(Notification),
    /// Delete event
    Delete(String),
    /// FiltersChanged event
    FiltersChanged,
}