summaryrefslogtreecommitdiff
path: root/src/model/property_groups/name.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2021-03-09 21:32:18 +0100
committerRobin Krahl <robin.krahl@ireas.org>2021-03-09 21:32:18 +0100
commitbcdfeb3d4e2569e073a34be67f38f57da90be723 (patch)
tree918fe2f00bf4eefb373afbbe9d10e522c80086d2 /src/model/property_groups/name.rs
parent4d2edd797d5f8054284bc990371f28e918ea044b (diff)
downloadwasm-card-main.tar.gz
wasm-card-main.tar.bz2
Use LinearLayout for vcardmain
Diffstat (limited to 'src/model/property_groups/name.rs')
-rw-r--r--src/model/property_groups/name.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/property_groups/name.rs b/src/model/property_groups/name.rs
index eb0d9da..4a4d72c 100644
--- a/src/model/property_groups/name.rs
+++ b/src/model/property_groups/name.rs
@@ -16,7 +16,7 @@ use crate::model::*;
///
/// assert_eq!(name.generate_fn(), String::from("Sir Arthur Charles Clarke, CBE FRAS"));
/// ```
-#[derive(Clone, Debug, PartialEq)]
+#[derive(Clone, Debug, Default, PartialEq)]
pub struct Name {
pub prefix: String,
pub first_name: String,