1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
use std::sync::Arc; 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: Arc<str>, /// Company/brand being sponosored. pub name: Arc<str>, /// Primary text. pub text: Arc<str>, /// Call-to-action pub motions: Vec<Motion>, }