potestas 0.1.0

A wrapper around the Mastodon API.
Documentation
use crate::entities::{notification::Notification, status::Status};

#[derive(Debug, Clone)]
#[allow(clippy::large_enum_variant)]
/// 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,
}