From 7694bc0ba8ac08d3a5f95c63b7848d556132c92b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kl=C3=A4hn?= Date: Tue, 12 Nov 2024 10:25:12 +0100 Subject: [PATCH] fix enum repr --- src/location.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/location.rs b/src/location.rs index 6b5bf8886..04bb1b5b8 100644 --- a/src/location.rs +++ b/src/location.rs @@ -90,10 +90,10 @@ pub struct Kml { /// Location streaming status for one chat. #[derive(Debug, PartialEq, Eq)] pub enum LocationSendingStatus { - /// Location streaming is enabled. - Enabled = 0, /// Location streaming is disabled. - Disabled = 1, + Disabled = 0, + /// Location streaming is enabled. + Enabled = 1, /// Location streaming is enabled but (currently) not possible. Failure = 2, }