pub struct PushMessageContentChatSetBackground {
pub is_same: bool,
}
Expand description
A chat background was edited
Fields§
§is_same: bool
True, if the set background is the same as the background of the current user
Trait Implementations§
Source§impl Clone for PushMessageContentChatSetBackground
impl Clone for PushMessageContentChatSetBackground
Source§fn clone(&self) -> PushMessageContentChatSetBackground
fn clone(&self) -> PushMessageContentChatSetBackground
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 PushMessageContentChatSetBackground
impl Default for PushMessageContentChatSetBackground
Source§fn default() -> PushMessageContentChatSetBackground
fn default() -> PushMessageContentChatSetBackground
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushMessageContentChatSetBackground
impl<'de> Deserialize<'de> for PushMessageContentChatSetBackground
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 PushMessageContentChatSetBackground
impl PartialEq for PushMessageContentChatSetBackground
Source§fn eq(&self, other: &PushMessageContentChatSetBackground) -> bool
fn eq(&self, other: &PushMessageContentChatSetBackground) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PushMessageContentChatSetBackground
Auto Trait Implementations§
impl Freeze for PushMessageContentChatSetBackground
impl RefUnwindSafe for PushMessageContentChatSetBackground
impl Send for PushMessageContentChatSetBackground
impl Sync for PushMessageContentChatSetBackground
impl Unpin for PushMessageContentChatSetBackground
impl UnwindSafe for PushMessageContentChatSetBackground
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