pub enum AutosaveSettingsScope {
PrivateChats,
GroupChats,
ChannelChats,
Chat(AutosaveSettingsScopeChat),
}
Variants§
PrivateChats
Autosave settings applied to all private chats without chat-specific settings
GroupChats
Autosave settings applied to all basic group and supergroup chats without chat-specific settings
ChannelChats
Autosave settings applied to all channel chats without chat-specific settings
Chat(AutosaveSettingsScopeChat)
Autosave settings applied to a chat
Trait Implementations§
Source§impl Clone for AutosaveSettingsScope
impl Clone for AutosaveSettingsScope
Source§fn clone(&self) -> AutosaveSettingsScope
fn clone(&self) -> AutosaveSettingsScope
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 AutosaveSettingsScope
impl Debug for AutosaveSettingsScope
Source§impl<'de> Deserialize<'de> for AutosaveSettingsScope
impl<'de> Deserialize<'de> for AutosaveSettingsScope
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 AutosaveSettingsScope
impl PartialEq for AutosaveSettingsScope
Source§impl Serialize for AutosaveSettingsScope
impl Serialize for AutosaveSettingsScope
impl StructuralPartialEq for AutosaveSettingsScope
Auto Trait Implementations§
impl Freeze for AutosaveSettingsScope
impl RefUnwindSafe for AutosaveSettingsScope
impl Send for AutosaveSettingsScope
impl Sync for AutosaveSettingsScope
impl Unpin for AutosaveSettingsScope
impl UnwindSafe for AutosaveSettingsScope
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