fix: make ClientType enum non-exhaustive
This commit is contained in:
parent
c7c6423064
commit
ca1338b6b7
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ use crate::{
|
||||||
/// slightly different features
|
/// slightly different features
|
||||||
#[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)]
|
#[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)]
|
||||||
#[serde(rename_all = "snake_case")]
|
#[serde(rename_all = "snake_case")]
|
||||||
|
#[non_exhaustive]
|
||||||
pub enum ClientType {
|
pub enum ClientType {
|
||||||
/// Client used by youtube.com
|
/// Client used by youtube.com
|
||||||
Desktop,
|
Desktop,
|
||||||
|
|
|
||||||
Reference in a new issue