mastodon_api\models/
marker.rs

1use serde::{Deserialize, Serialize};
2
3/// Represents a marker for a reading position in a timeline.
4#[derive(Debug, Clone, Deserialize, Serialize)]
5pub struct Marker {
6    /// The ID of the last read status in the timeline.
7    pub last_read_id: String,
8    /// The version of the marker (incremental).
9    pub version: u32,
10    /// When the marker was last updated (ISO 8601).
11    pub updated_at: String,
12}