anaso_site_api_models 0.0.19

API models for Ana.so
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::{Deserialize, Serialize};

/// Website meta tags.
#[derive(bon::Builder, Debug, Deserialize, Serialize)]
pub struct SocialData {
    /// `name`, `og:title`, `twitter:title`
    pub title: Option<String>,
    /// `description`, `og:description`, `twitter:description`
    pub description: Option<String>,
    /// `image`, `og:image`, `twitter:image`
    pub image: Option<String>,
    /// `og:url`
    pub url: Option<String>,
    /// `twitter:card`
    pub twitter_card: Option<String>,
}