Struct docbase_io::models::comment::Comment [] [src]

pub struct Comment {
    pub id: u32,
    pub body: String,
    pub created_at: String,
    pub user: User,
}

Fields

id: u32 body: String created_at: String user: User

Trait Implementations

Derived Implementations

impl Encodable for Comment
[src]

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Decodable for Comment
[src]

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Comment, __D::Error>