mirror of
https://gitlab.com/xmpp-rs/xmpp-rs.git
synced 2024-07-12 22:21:53 +00:00
jingle_ft: Make Creator into an enum, instead of a String.
This commit is contained in:
parent
9f6eea06ce
commit
eeb9b36620
1 changed files with 3 additions and 2 deletions
|
@ -50,8 +50,9 @@ pub struct Description {
|
|||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Creator {
|
||||
pub creator: String,
|
||||
pub enum Creator {
|
||||
Initiator,
|
||||
Responder,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
|
Loading…
Reference in a new issue