summaryrefslogtreecommitdiff
path: root/src/model/property_groups
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/property_groups')
-rw-r--r--src/model/property_groups/address.rs2
-rw-r--r--src/model/property_groups/name.rs2
-rw-r--r--src/model/property_groups/telephone.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/model/property_groups/address.rs b/src/model/property_groups/address.rs
index 00bca0b..e50a59a 100644
--- a/src/model/property_groups/address.rs
+++ b/src/model/property_groups/address.rs
@@ -1,7 +1,7 @@
use crate::model::input_fields::VCardPropertyInputField;
use crate::model::*;
-#[derive(Clone, Debug, PartialEq)]
+#[derive(Clone, Debug, Default, PartialEq)]
pub struct Address {
pub post_office_box: String,
pub extension: String,
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,
diff --git a/src/model/property_groups/telephone.rs b/src/model/property_groups/telephone.rs
index 03de4ee..dee28e1 100644
--- a/src/model/property_groups/telephone.rs
+++ b/src/model/property_groups/telephone.rs
@@ -1,7 +1,7 @@
use crate::model::input_fields::VCardPropertyInputField;
use crate::model::*;
-#[derive(Clone, Debug, PartialEq)]
+#[derive(Clone, Debug, Default, PartialEq)]
pub struct Telephone {
pub number: String,
pub work: bool,