jingle_ft: Make Creator into an enum, instead of a String.

This commit is contained in:
Emmanuel Gil Peyrot 2017-04-28 23:43:24 +01:00
parent 9f6eea06ce
commit eeb9b36620

View file

@ -50,8 +50,9 @@ pub struct Description {
}
#[derive(Debug, Clone)]
pub struct Creator {
pub creator: String,
pub enum Creator {
Initiator,
Responder,
}
#[derive(Debug, Clone)]