Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dropshot/src/api_description.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1222,7 +1222,7 @@ impl fmt::Display for ApiDescriptionRegisterError {
impl std::error::Error for ApiDescriptionRegisterError {}

/// Describes which versions of the API this endpoint is defined for
#[derive(Debug, Eq, PartialEq)]
#[derive(Clone, Debug, Eq, PartialEq)]
pub enum ApiEndpointVersions {
/// this endpoint covers all versions of the API
All,
Expand All @@ -1239,7 +1239,7 @@ pub enum ApiEndpointVersions {
Until(semver::Version),
}

#[derive(Debug, Eq, PartialEq)]
#[derive(Clone, Debug, Eq, PartialEq)]
pub struct OrderedVersionPair {
earliest: semver::Version,
until: semver::Version,
Expand Down
Loading
Loading