Update serde attrs in call
This commit is contained in:
parent
6e1f8ded2d
commit
d619185a72
@ -22,13 +22,12 @@ pub struct SessionDescription {
|
||||
|
||||
/// The type of VoIP session description.
|
||||
#[derive(Clone, Copy, Debug, PartialEq, Deserialize, Serialize)]
|
||||
#[serde(rename_all = "lowercase")]
|
||||
pub enum SessionDescriptionType {
|
||||
/// An answer.
|
||||
#[serde(rename = "answer")]
|
||||
Answer,
|
||||
|
||||
/// An offer.
|
||||
#[serde(rename = "offer")]
|
||||
Offer,
|
||||
|
||||
/// Additional variants may be added in the future and will not be considered breaking changes
|
||||
|
Loading…
x
Reference in New Issue
Block a user