mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-15 02:08:54 +00:00
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", api())]
|
||||||
#[cfg_attr(feature = "api-types", derive(Updater))]
|
#[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")]
|
#[serde(rename_all = "lowercase")]
|
||||||
/// Product type
|
/// Product type
|
||||||
pub enum ProductType {
|
pub enum ProductType {
|
||||||
|
Loading…
Reference in New Issue
Block a user