From bcdfeb3d4e2569e073a34be67f38f57da90be723 Mon Sep 17 00:00:00 2001 From: Robin Krahl Date: Tue, 9 Mar 2021 21:32:18 +0100 Subject: Use LinearLayout for vcard --- src/model/property_groups/name.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/model/property_groups/name.rs') 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, -- cgit v1.2.3