From 94a0e361e180223adf2bc9760c8810dfa3c2681f Mon Sep 17 00:00:00 2001 From: jelemux Date: Thu, 28 Jan 2021 22:24:32 +0100 Subject: use different vcard library --- src/viewmodel/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/viewmodel/mod.rs') diff --git a/src/viewmodel/mod.rs b/src/viewmodel/mod.rs index 9dce01c..cc25d68 100644 --- a/src/viewmodel/mod.rs +++ b/src/viewmodel/mod.rs @@ -1,5 +1,5 @@ -use vcard::properties; use yew::prelude::*; +use vobject::Property; use crate::view::VCardPropertyInputComponent; pub mod address; @@ -7,7 +7,7 @@ pub mod name; pub mod telephone; pub mod utility; -pub trait VCardPropertyInputObject> +pub trait VCardPropertyInputObject> where Self: Sized { fn new() -> Self; @@ -24,7 +24,6 @@ pub trait VCardPropertyInputObject bool; - fn to_vcard_property(&self) -> Result; } #[derive(Debug,Clone,PartialEq)] -- cgit v1.2.3