Implement search suggestion

This commit is contained in:
Julian Schmidhuber 2021-10-12 13:03:34 +02:00
parent 1dfe4371e1
commit 4b4fdc2564

View file

@ -131,6 +131,8 @@ pub struct Comment {
pub struct ChannelSearch { pub struct ChannelSearch {
pub items: Vec<ChannelSearchItem>, pub items: Vec<ChannelSearchItem>,
pub nextpage: Option<String>, pub nextpage: Option<String>,
pub suggestion: Option<String>,
pub corrected: bool,
} }
#[derive(Deserialize, Debug)] #[derive(Deserialize, Debug)]