lib

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

comment.rs (330B)


      1 use crate::social::RadrootsSocialTarget;
      2 
      3 #[cfg(not(feature = "std"))]
      4 use alloc::string::String;
      5 
      6 #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
      7 #[derive(Clone, Debug)]
      8 pub struct RadrootsComment {
      9     pub root: RadrootsSocialTarget,
     10     pub parent: RadrootsSocialTarget,
     11     pub content: String,
     12 }