anaso_site_api_models 0.0.7

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};

use crate::stela::Motion;

/// Ads. Gotta make money.
#[derive(Debug, Deserialize, Serialize)]
pub struct SectionSponsor {
    /// The word "Sponsor".
    pub sponsor_text: String,
    /// Company/brand being sponosored.
    pub name: String,
    /// Primary text.
    pub text: String,
    /// Call-to-action
    pub motions: Vec<Motion>,
}