lib

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

geochat.rs (387B)


      1 #![forbid(unsafe_code)]
      2 
      3 #[cfg(not(feature = "std"))]
      4 use alloc::string::String;
      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 RadrootsGeoChat {
     10     pub geohash: String,
     11     pub content: String,
     12     pub nickname: Option<String>,
     13     pub teleported: bool,
     14 }