16 lines
266 B
Rust
16 lines
266 B
Rust
use serde::Deserialize;
|
|
|
|
#[derive(Deserialize)]
|
|
pub struct CommentsByTopic {
|
|
pub mutation_token: Option<String>,
|
|
pub topic: String,
|
|
}
|
|
|
|
#[derive(Deserialize)]
|
|
pub struct NewComment {
|
|
pub author: String,
|
|
pub email: String,
|
|
pub text: String,
|
|
pub topic: String,
|
|
}
|