From d0d42c5ae00560e4464479a98df90ed063a1c773 Mon Sep 17 00:00:00 2001 From: jelemux Date: Wed, 17 Feb 2021 19:43:30 +0100 Subject: change dates to other_identification and add some stuff --- src/model/vcard.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/model/vcard.rs') diff --git a/src/model/vcard.rs b/src/model/vcard.rs index ee7e28e..185ae71 100644 --- a/src/model/vcard.rs +++ b/src/model/vcard.rs @@ -1,7 +1,7 @@ use crate::model::address::Address; -use crate::model::dates::Dates; use crate::model::name::Name; use crate::model::organizational::Organizational; +use crate::model::other_identification::OtherIdentification; use crate::model::telephone::Telephone; /// Type that represents the data structure of a vcard. @@ -10,7 +10,7 @@ pub struct VCardData { pub names: Vec, pub addresses: Vec
, pub telephones: Vec, - pub datess: Vec, + pub other_identifications: Vec, pub organizationals: Vec, } @@ -28,13 +28,13 @@ impl VCardData { names: Vec::new(), addresses: Vec::new(), telephones: Vec::new(), - datess: Vec::new(), + other_identifications: Vec::new(), organizationals: Vec::new(), } } make_vec_adder_fn!( fn add_name names => name: Name ); make_vec_adder_fn!( fn add_address addresses => address: Address ); make_vec_adder_fn!( fn add_telephone telephones => telephone: Telephone ); - make_vec_adder_fn!( fn add_dates datess => dates: Dates ); + make_vec_adder_fn!( fn add_other_identification other_identifications => other_identification: OtherIdentification ); make_vec_adder_fn!( fn add_organizational organizationals => organizational: Organizational ); } -- cgit v1.2.3