megalodon 1.3.0

Fediverse API client library for Rust.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Deserialize, Serialize)]
pub struct StatusSource {
    // ID of the status in the database
    pub id: String,
    // The plain text used to compose the status
    pub text: String,
    // The plain text used to compose the status’s subject or content warning
    pub spoiler_text: String,
}