lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README | LICENSE

list_set.rs (489B)


      1 use crate::list::RadrootsListEntry;
      2 
      3 #[cfg(not(feature = "std"))]
      4 use alloc::{string::String, vec::Vec};
      5 
      6 #[cfg_attr(feature = "dto-bindgen", derive(dto_bindgen::Dto))]
      7 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
      8 #[derive(Clone, Debug)]
      9 pub struct RadrootsListSet {
     10     pub d_tag: String,
     11     pub content: String,
     12     pub entries: Vec<RadrootsListEntry>,
     13     pub title: Option<String>,
     14     pub description: Option<String>,
     15     pub image: Option<String>,
     16 }