From eeb9b36620dafd91061f4fa5269209ec8d613ac3 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 28 Apr 2017 23:43:24 +0100 Subject: [PATCH] jingle_ft: Make Creator into an enum, instead of a String. --- src/jingle_ft.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jingle_ft.rs b/src/jingle_ft.rs index ee5bb95..4cd73b1 100644 --- a/src/jingle_ft.rs +++ b/src/jingle_ft.rs @@ -50,8 +50,9 @@ pub struct Description { } #[derive(Debug, Clone)] -pub struct Creator { - pub creator: String, +pub enum Creator { + Initiator, + Responder, } #[derive(Debug, Clone)]