pub struct ChatEventAutomaticTranslationToggled {
pub has_automatic_translation: bool,
}Expand description
The has_automatic_translation setting of a channel was toggled
Fields§
§has_automatic_translation: boolNew value of has_automatic_translation
Trait Implementations§
Source§impl Clone for ChatEventAutomaticTranslationToggled
impl Clone for ChatEventAutomaticTranslationToggled
Source§fn clone(&self) -> ChatEventAutomaticTranslationToggled
fn clone(&self) -> ChatEventAutomaticTranslationToggled
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 Default for ChatEventAutomaticTranslationToggled
impl Default for ChatEventAutomaticTranslationToggled
Source§fn default() -> ChatEventAutomaticTranslationToggled
fn default() -> ChatEventAutomaticTranslationToggled
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChatEventAutomaticTranslationToggled
impl<'de> Deserialize<'de> for ChatEventAutomaticTranslationToggled
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 ChatEventAutomaticTranslationToggled
impl PartialEq for ChatEventAutomaticTranslationToggled
Source§fn eq(&self, other: &ChatEventAutomaticTranslationToggled) -> bool
fn eq(&self, other: &ChatEventAutomaticTranslationToggled) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ChatEventAutomaticTranslationToggled
Auto Trait Implementations§
impl Freeze for ChatEventAutomaticTranslationToggled
impl RefUnwindSafe for ChatEventAutomaticTranslationToggled
impl Send for ChatEventAutomaticTranslationToggled
impl Sync for ChatEventAutomaticTranslationToggled
impl Unpin for ChatEventAutomaticTranslationToggled
impl UnsafeUnpin for ChatEventAutomaticTranslationToggled
impl UnwindSafe for ChatEventAutomaticTranslationToggled
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