pub struct ChatEventLocationChanged {
pub old_location: Option<ChatLocation>,
pub new_location: Option<ChatLocation>,
}
Expand description
The supergroup location was changed
Fields§
§old_location: Option<ChatLocation>
Previous location; may be null
new_location: Option<ChatLocation>
New location; may be null
Trait Implementations§
Source§impl Clone for ChatEventLocationChanged
impl Clone for ChatEventLocationChanged
Source§fn clone(&self) -> ChatEventLocationChanged
fn clone(&self) -> ChatEventLocationChanged
Returns a duplicate 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 PartialEq for ChatEventLocationChanged
impl PartialEq for ChatEventLocationChanged
Source§impl Serialize for ChatEventLocationChanged
impl Serialize for ChatEventLocationChanged
impl StructuralPartialEq 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