diff --git a/CHANGELOG.md b/CHANGELOG.md index fa003a9..1e2560a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Converts `ServiceInfo` to use a builder for construction. - Changes the `v1::types::responses::service` module to `v1::types::responses::service_info`. +- Makes `v1::types::task::State` `Copy`. ## 0.2.0 - 08-08-2024 diff --git a/src/v1/types/task.rs b/src/v1/types/task.rs index 7549f4a..5ff1ef5 100644 --- a/src/v1/types/task.rs +++ b/src/v1/types/task.rs @@ -12,7 +12,7 @@ pub mod file; pub use executor::Executor; /// State of TES task. -#[derive(Clone, Debug, Default, Eq, PartialEq)] +#[derive(Copy, Clone, Debug, Default, Eq, PartialEq)] #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] #[cfg_attr(feature = "serde", serde(rename_all = "UPPERCASE"))] pub enum State {