feat: add verification to channel model
- clean up response models - change verification status serialization
This commit is contained in:
parent
4d80dffcd5
commit
9aafb84e0f
35 changed files with 459 additions and 451 deletions
|
|
@ -120,8 +120,9 @@ pub(crate) struct HeaderRenderer {
|
|||
pub subscriber_count_text: Option<String>,
|
||||
#[serde(default)]
|
||||
pub avatar: Thumbnails,
|
||||
#[serde_as(as = "Option<VecSkipError<_>>")]
|
||||
pub badges: Option<Vec<ChannelBadge>>,
|
||||
#[serde(default)]
|
||||
#[serde_as(as = "VecSkipError<_>")]
|
||||
pub badges: Vec<ChannelBadge>,
|
||||
#[serde(default)]
|
||||
pub banner: Thumbnails,
|
||||
#[serde(default)]
|
||||
|
|
|
|||
Reference in a new issue