lib

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

app_data.rs (435B)


      1 #![forbid(unsafe_code)]
      2 
      3 use crate::kinds::KIND_APP_DATA as KIND_APP_DATA_EVENT;
      4 
      5 #[cfg(not(feature = "std"))]
      6 use alloc::string::String;
      7 
      8 pub const KIND_APP_DATA: u32 = KIND_APP_DATA_EVENT;
      9 
     10 #[cfg_attr(feature = "dto-bindgen", derive(dto_bindgen::Dto))]
     11 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
     12 #[derive(Clone, Debug)]
     13 pub struct RadrootsAppData {
     14     pub d_tag: String,
     15     pub content: String,
     16 }