Skip to content

Commit

Permalink
revise: makes task state Copy
Browse files Browse the repository at this point in the history
  • Loading branch information
claymcleod committed Sep 23, 2024
1 parent c166a69 commit c822006
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/v1/types/task.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c822006

Please sign in to comment.