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