From ad9ba30ed217ec9907d1faf389c321a1dcf5c13a Mon Sep 17 00:00:00 2001 From: jelemux Date: Sun, 7 Feb 2021 21:43:48 +0100 Subject: add organizational properties --- src/viewmodel/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/viewmodel/name.rs') diff --git a/src/viewmodel/name.rs b/src/viewmodel/name.rs index aa6747c..ee4736f 100644 --- a/src/viewmodel/name.rs +++ b/src/viewmodel/name.rs @@ -16,7 +16,7 @@ use crate::view::name::*; /// /// assert_eq!(name.generate_fn(), String::from("Sir Arthur Charles Clarke, CBE FRAS")); /// ``` -#[derive(Clone, Debug)] +#[derive(Clone, Debug, PartialEq)] pub struct Name { pub prefix: String, pub first_name: String, -- cgit v1.2.3