pub struct UpdateChatIsTranslatable {
pub chat_id: i64,
pub is_translatable: bool,
}
Expand description
Translation of chat messages was enabled or disabled
Fields§
§chat_id: i64
Chat identifier
is_translatable: bool
New value of is_translatable
Trait Implementations§
Source§impl Clone for UpdateChatIsTranslatable
impl Clone for UpdateChatIsTranslatable
Source§fn clone(&self) -> UpdateChatIsTranslatable
fn clone(&self) -> UpdateChatIsTranslatable
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 UpdateChatIsTranslatable
impl Debug for UpdateChatIsTranslatable
Source§impl Default for UpdateChatIsTranslatable
impl Default for UpdateChatIsTranslatable
Source§fn default() -> UpdateChatIsTranslatable
fn default() -> UpdateChatIsTranslatable
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateChatIsTranslatable
impl<'de> Deserialize<'de> for UpdateChatIsTranslatable
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 UpdateChatIsTranslatable
impl PartialEq for UpdateChatIsTranslatable
Source§impl Serialize for UpdateChatIsTranslatable
impl Serialize for UpdateChatIsTranslatable
impl StructuralPartialEq for UpdateChatIsTranslatable
Auto Trait Implementations§
impl Freeze for UpdateChatIsTranslatable
impl RefUnwindSafe for UpdateChatIsTranslatable
impl Send for UpdateChatIsTranslatable
impl Sync for UpdateChatIsTranslatable
impl Unpin for UpdateChatIsTranslatable
impl UnwindSafe for UpdateChatIsTranslatable
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