Struct ferrisgram::types::ChatLocation
source · pub struct ChatLocation {
pub location: Location,
pub address: String,
}
Expand description
Represents a location to which a chat is connected. https://core.telegram.org/bots/api#chatlocation
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
Implementations§
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
Auto Trait Implementations§
impl Freeze for ChatLocation
impl RefUnwindSafe for ChatLocation
impl Send for ChatLocation
impl Sync for ChatLocation
impl Unpin for ChatLocation
impl UnwindSafe for ChatLocation
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)