Struct teloxide::types::MessageProximityAlertTriggered
source · pub struct MessageProximityAlertTriggered {
pub proximity_alert_triggered: ProximityAlertTriggered,
}
Fields§
§proximity_alert_triggered: ProximityAlertTriggered
Service message. A user in the chat triggered another user’s proximity alert while sharing Live Location.
Trait Implementations§
source§impl Clone for MessageProximityAlertTriggered
impl Clone for MessageProximityAlertTriggered
source§fn clone(&self) -> MessageProximityAlertTriggered
fn clone(&self) -> MessageProximityAlertTriggered
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<'de> Deserialize<'de> for MessageProximityAlertTriggered
impl<'de> Deserialize<'de> for MessageProximityAlertTriggered
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<MessageProximityAlertTriggered, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<MessageProximityAlertTriggered, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<MessageProximityAlertTriggered> for MessageProximityAlertTriggered
impl PartialEq<MessageProximityAlertTriggered> for MessageProximityAlertTriggered
source§fn eq(&self, other: &MessageProximityAlertTriggered) -> bool
fn eq(&self, other: &MessageProximityAlertTriggered) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MessageProximityAlertTriggered
impl Serialize for MessageProximityAlertTriggered
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more