forked from Proxmox/proxmox
subscription: let ProductType derive Hash
for usage in HashMap keys Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
82e742f8f5
commit
81cdba6181
@ -61,7 +61,7 @@ impl std::fmt::Display for SubscriptionStatus {
|
||||
|
||||
#[cfg_attr(feature = "api-types", api())]
|
||||
#[cfg_attr(feature = "api-types", derive(Updater))]
|
||||
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord)]
|
||||
#[derive(Debug, Clone, Hash, Serialize, Deserialize, PartialEq, Eq, PartialOrd, Ord)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
/// Product type
|
||||
pub enum ProductType {
|
||||
|
Loading…
x
Reference in New Issue
Block a user