Skip to content

Commit

Permalink
proper order
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavrax committed Aug 29, 2023
1 parent a28e2e8 commit f6bae63
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/dx/presence/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -492,12 +492,6 @@ pub enum HereNowResponseUserIdentifier {
/// User identifier is a string.
String(String),

/// User identifier is a map of uuids
Map {
/// User identifier.
uuid: String,
},

/// User identifier is a map of channel names to their states.
WithState {
/// User identifier.
Expand All @@ -511,6 +505,12 @@ pub enum HereNowResponseUserIdentifier {
#[cfg(not(feature = "serde"))]
state: Vec<u8>,
},

/// User identifier is a map of uuids
Map {
/// User identifier.
uuid: String,
},
}

impl TryFrom<HereNowResponseBody> for HereNowResult {
Expand Down

0 comments on commit f6bae63

Please sign in to comment.