fix: make ClientType enum non-exhaustive

This commit is contained in:
ThetaDev 2023-02-13 01:22:47 +01:00
parent c7c6423064
commit ca1338b6b7

View file

@ -49,6 +49,7 @@ use crate::{
/// slightly different features
#[derive(Clone, Copy, Debug, Serialize, Deserialize, PartialEq, Eq, Hash)]
#[serde(rename_all = "snake_case")]
#[non_exhaustive]
pub enum ClientType {
/// Client used by youtube.com
Desktop,