diff options
| author | Jerome Ducret <jdiphone34@gmail.com> | 2022-08-21 23:06:14 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-21 21:06:14 +0000 |
| commit | 6127642d3038e2d4f9b760c93cf4a405ffbcb3a6 (patch) | |
| tree | c4135236ce841378ebe31035322a1660bc018f8e /atuin-client | |
| parent | Trim whitespace from end of encryption key (#496) (diff) | |
| download | atuin-6127642d3038e2d4f9b760c93cf4a405ffbcb3a6.zip | |
Securize Dockerfile (#506)
Diffstat (limited to 'atuin-client')
| -rw-r--r-- | atuin-client/src/history.rs | 2 | ||||
| -rw-r--r-- | atuin-client/src/settings.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/atuin-client/src/history.rs b/atuin-client/src/history.rs index 59519143..9a26c95d 100644 --- a/atuin-client/src/history.rs +++ b/atuin-client/src/history.rs @@ -6,7 +6,7 @@ use serde::{Deserialize, Serialize}; use atuin_common::utils::uuid_v4; // Any new fields MUST be Optional<>! -#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, sqlx::FromRow)] +#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq, sqlx::FromRow)] pub struct History { pub id: String, pub timestamp: chrono::DateTime<Utc>, diff --git a/atuin-client/src/settings.rs b/atuin-client/src/settings.rs index 863a5b9b..d8720574 100644 --- a/atuin-client/src/settings.rs +++ b/atuin-client/src/settings.rs @@ -24,7 +24,7 @@ pub enum SearchMode { Fuzzy, } -#[derive(Clone, Debug, Deserialize, Copy, PartialEq)] +#[derive(Clone, Debug, Deserialize, Copy, PartialEq, Eq)] pub enum FilterMode { #[serde(rename = "global")] Global, |
