Struct rust_tdlib::types::ChatEventLocationChanged  
source · [−]pub struct ChatEventLocationChanged { /* private fields */ }Expand description
The supergroup location was changed
Implementations
sourceimpl 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
sourceimpl AsRef<ChatEventLocationChanged> for ChatEventLocationChanged
 
impl AsRef<ChatEventLocationChanged> for ChatEventLocationChanged
sourcefn as_ref(&self) -> &ChatEventLocationChanged
 
fn as_ref(&self) -> &ChatEventLocationChanged
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for ChatEventLocationChanged
 
impl Clone for ChatEventLocationChanged
sourcefn clone(&self) -> ChatEventLocationChanged
 
fn clone(&self) -> ChatEventLocationChanged
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ChatEventLocationChanged
 
impl Debug for ChatEventLocationChanged
sourceimpl Default for ChatEventLocationChanged
 
impl Default for ChatEventLocationChanged
sourcefn default() -> ChatEventLocationChanged
 
fn default() -> ChatEventLocationChanged
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for ChatEventLocationChanged
 
impl<'de> Deserialize<'de> for ChatEventLocationChanged
sourcefn 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
sourceimpl Serialize for ChatEventLocationChanged
 
impl Serialize for ChatEventLocationChanged
impl TDChatEventAction for ChatEventLocationChanged
Auto Trait Implementations
impl RefUnwindSafe for ChatEventLocationChanged
impl Send for ChatEventLocationChanged
impl Sync for ChatEventLocationChanged
impl Unpin for ChatEventLocationChanged
impl UnwindSafe for ChatEventLocationChanged
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
    T: ?Sized, 
 
impl<T> BorrowMut<T> for T where
    T: ?Sized, 
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more