Skip to content

database::Hash cannot be used as a map key #23

@msrd0

Description

@msrd0

Consider wrapping it in a newtype struct like this:

#[derive(Deserialize, Eq, Hash, PartialEq, PartialOrd, Ord, Serialize)]
#[serde(transparent)]
pub struct MediaHash(
	#[serde(with = "serde_big_array::BigArray")] pub database::Hash
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions