add copy and clone trait for PrivacyStatus

This commit is contained in:
OMGeeky
2023-06-21 17:58:17 +02:00
parent a7de029317
commit d1279a8671
2 changed files with 4 additions and 4 deletions

View File

@@ -1,13 +1,13 @@
[package]
name = "google_youtube"
version = "0.2.0"
version = "0.2.1"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
downloader_config = { git = "https://github.com/OMGeeky/downloader_config" }
exponential_backoff = { version="0.2", git = "https://github.com/OMGeeky/exponential_backoff" }
exponential_backoff = { version = "0.2", git = "https://github.com/OMGeeky/exponential_backoff" }
google-youtube3 = "5.0.2"
@@ -29,4 +29,4 @@ yup-oauth2 = { version = "8.1.1", git = "https://github.com/OMGeeky/yup-oauth2",
[features]
default = []
tracing = ["dep:tracing","exponential_backoff/tracing", "downloader_config/tracing"]
tracing = ["dep:tracing", "exponential_backoff/tracing", "downloader_config/tracing"]

View File

@@ -40,7 +40,7 @@ impl Debug for YoutubeClient {
f.debug_struct("YoutubeClient").finish()
}
}
#[derive(Debug)]
#[derive(Debug, Copy, Clone)]
pub enum PrivacyStatus {
Public,
Unlisted,