fix enum repr

This commit is contained in:
Sebastian Klähn
2024-11-12 10:25:12 +01:00
parent 9f1eb45acd
commit 7694bc0ba8

View File

@@ -90,10 +90,10 @@ pub struct Kml {
/// Location streaming status for one chat. /// Location streaming status for one chat.
#[derive(Debug, PartialEq, Eq)] #[derive(Debug, PartialEq, Eq)]
pub enum LocationSendingStatus { pub enum LocationSendingStatus {
/// Location streaming is enabled.
Enabled = 0,
/// Location streaming is disabled. /// Location streaming is disabled.
Disabled = 1, Disabled = 0,
/// Location streaming is enabled.
Enabled = 1,
/// Location streaming is enabled but (currently) not possible. /// Location streaming is enabled but (currently) not possible.
Failure = 2, Failure = 2,
} }