1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
//! Struct describing card preview information.
use chrono::NaiveDate;
use serde::{Deserialize, Serialize};

/// Struct describing card preview information.
#[derive(Serialize, Deserialize, Clone, Eq, PartialEq, Ord, PartialOrd, Hash, Debug, Default)]
#[allow(missing_docs)]
pub struct Preview {
    pub previewed_at: Option<NaiveDate>,
    pub source_uri: Option<String>,
    pub source: Option<String>,
}