Struct tg_flows::ChatLocation
source · pub struct ChatLocation {
pub location: Location,
pub address: String,
}Expand description
Represents a location to which a chat is connected.
Fields§
§location: LocationThe location to which the supergroup is connected. Can’t be a live location.
address: StringLocation 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<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::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 ==.