anaso_site_api_models 0.0.3

API models for Ana.so
Documentation
use std::sync::Arc;

use serde::{Deserialize, Serialize};

/// Website meta tags.
#[derive(Debug, Deserialize, Serialize)]
pub struct SocialData {
    /// Key-value pairs.
    ///
    /// Example:
    /// ```text
    /// [
    ///     ("og:title", "a/Hejmo"),
    ///     ("og:description", "La socia retejo nur por Esperantistoj"),
    ///     ("og:url", "https://ana.so/a/Hejmo"),
    /// ]
    /// ```
    pub tags: Vec<(Arc<str>, Arc<str>)>,
}