pub struct ChatEventLocationChanged { /* private fields */ }
Expand description
The supergroup location was changed
Implementations§
Source§impl ChatEventLocationChanged
impl ChatEventLocationChanged
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> ChatEventLocationChangedBuilder
pub fn old_location(&self) -> &Option<ChatLocation>
pub fn new_location(&self) -> &Option<ChatLocation>
Trait Implementations§
Source§impl AsRef<ChatEventLocationChanged> for ChatEventLocationChanged
impl AsRef<ChatEventLocationChanged> for ChatEventLocationChanged
Source§fn as_ref(&self) -> &ChatEventLocationChanged
fn as_ref(&self) -> &ChatEventLocationChanged
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for ChatEventLocationChanged
impl Clone for ChatEventLocationChanged
Source§fn clone(&self) -> ChatEventLocationChanged
fn clone(&self) -> ChatEventLocationChanged
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 ChatEventLocationChanged
impl Debug for ChatEventLocationChanged
Source§impl Default for ChatEventLocationChanged
impl Default for ChatEventLocationChanged
Source§fn default() -> ChatEventLocationChanged
fn default() -> ChatEventLocationChanged
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatEventLocationChanged
impl<'de> Deserialize<'de> for ChatEventLocationChanged
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 Serialize for ChatEventLocationChanged
impl Serialize for ChatEventLocationChanged
impl TDChatEventAction for ChatEventLocationChanged
Auto Trait Implementations§
impl Freeze for ChatEventLocationChanged
impl RefUnwindSafe for ChatEventLocationChanged
impl Send for ChatEventLocationChanged
impl Sync for ChatEventLocationChanged
impl Unpin for ChatEventLocationChanged
impl UnwindSafe for ChatEventLocationChanged
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