Struct teloxide::types::ChatLocation
source · Expand description
Represents a location to which a chat is connected.
Fields§
§location: Location
The location to which the supergroup is connected. Can’t be a live location.
address: String
Location address; 1-64 characters, as defined by the chat owner.
Trait Implementations§
source§impl Clone for ChatLocation
impl Clone for ChatLocation
source§fn clone(&self) -> ChatLocation
fn clone(&self) -> ChatLocation
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 Debug for ChatLocation
impl Debug for ChatLocation
source§impl<'de> Deserialize<'de> for ChatLocation
impl<'de> Deserialize<'de> for ChatLocation
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ChatLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ChatLocation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<ChatLocation> for ChatLocation
impl PartialEq<ChatLocation> for ChatLocation
source§fn eq(&self, other: &ChatLocation) -> bool
fn eq(&self, other: &ChatLocation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ChatLocation
impl Serialize for ChatLocation
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