diff options
author | jelemux <jeremias.weber@protonmail.com> | 2021-02-07 21:43:48 +0100 |
---|---|---|
committer | jelemux <jeremias.weber@protonmail.com> | 2021-02-07 21:43:48 +0100 |
commit | ad9ba30ed217ec9907d1faf389c321a1dcf5c13a (patch) | |
tree | 7fdadcde26842e4806881492b993b948c1f2032c /src/viewmodel/mod.rs | |
parent | f88f8d7c7dc87cdf47de95b54cc6e9f8429820a4 (diff) | |
download | wasm-card-ad9ba30ed217ec9907d1faf389c321a1dcf5c13a.tar.gz wasm-card-ad9ba30ed217ec9907d1faf389c321a1dcf5c13a.tar.bz2 |
add organizational properties
Diffstat (limited to 'src/viewmodel/mod.rs')
-rw-r--r-- | src/viewmodel/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/viewmodel/mod.rs b/src/viewmodel/mod.rs index edd1a8e..75ed1d2 100644 --- a/src/viewmodel/mod.rs +++ b/src/viewmodel/mod.rs @@ -7,10 +7,11 @@ pub mod address; pub mod name; pub mod telephone; pub mod dates; +pub mod organizational; /// Trait for types that represent the data of a vcard property used inside of a `VCardPropertyInputComponent`. -pub trait VCardPropertyInputObject<C: VCardPropertyInputComponent<Self>> +pub trait VCardPropertyInputObject<C: VCardPropertyInputComponent<Self>>: Clone + PartialEq where Self: Sized { /// Function for creating a new (and empty) `VCardPropertyInputObject`. |