pub struct ReadDatePrivacySettings {
pub show_read_date: bool,
}
Expand description
Contains privacy settings for message read date in private chats. Read dates are always shown to the users that can see online status of the current user regardless of this setting
Fields§
§show_read_date: bool
True, if message read date is shown to other users in private chats. If false and the current user isn’t a Telegram Premium user, then they will not be able to see other’s message read date.
Trait Implementations§
Source§impl Clone for ReadDatePrivacySettings
impl Clone for ReadDatePrivacySettings
Source§fn clone(&self) -> ReadDatePrivacySettings
fn clone(&self) -> ReadDatePrivacySettings
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 ReadDatePrivacySettings
impl Debug for ReadDatePrivacySettings
Source§impl Default for ReadDatePrivacySettings
impl Default for ReadDatePrivacySettings
Source§fn default() -> ReadDatePrivacySettings
fn default() -> ReadDatePrivacySettings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReadDatePrivacySettings
impl<'de> Deserialize<'de> for ReadDatePrivacySettings
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 ReadDatePrivacySettings
impl PartialEq for ReadDatePrivacySettings
Source§impl Serialize for ReadDatePrivacySettings
impl Serialize for ReadDatePrivacySettings
impl StructuralPartialEq for ReadDatePrivacySettings
Auto Trait Implementations§
impl Freeze for ReadDatePrivacySettings
impl RefUnwindSafe for ReadDatePrivacySettings
impl Send for ReadDatePrivacySettings
impl Sync for ReadDatePrivacySettings
impl Unpin for ReadDatePrivacySettings
impl UnwindSafe for ReadDatePrivacySettings
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