summaryrefslogtreecommitdiff
path: root/src/viewmodel/name.rs
diff options
context:
space:
mode:
authorjelemux <jeremias.weber@protonmail.com>2021-02-07 21:43:48 +0100
committerjelemux <jeremias.weber@protonmail.com>2021-02-07 21:43:48 +0100
commitad9ba30ed217ec9907d1faf389c321a1dcf5c13a (patch)
tree7fdadcde26842e4806881492b993b948c1f2032c /src/viewmodel/name.rs
parentf88f8d7c7dc87cdf47de95b54cc6e9f8429820a4 (diff)
downloadwasm-card-ad9ba30ed217ec9907d1faf389c321a1dcf5c13a.tar.gz
wasm-card-ad9ba30ed217ec9907d1faf389c321a1dcf5c13a.tar.bz2
add organizational properties
Diffstat (limited to 'src/viewmodel/name.rs')
-rw-r--r--src/viewmodel/name.rs2
1 files changed, 1 insertions, 1 deletions
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,