pub struct AutosaveSettingsException {
pub chat_id: i64,
pub settings: ScopeAutosaveSettings,
}
Expand description
Contains autosave settings for a chat, which overrides default settings for the corresponding scope
Fields§
§chat_id: i64
Chat identifier
settings: ScopeAutosaveSettings
Autosave settings for the chat
Trait Implementations§
Source§impl Clone for AutosaveSettingsException
impl Clone for AutosaveSettingsException
Source§fn clone(&self) -> AutosaveSettingsException
fn clone(&self) -> AutosaveSettingsException
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 AutosaveSettingsException
impl Debug for AutosaveSettingsException
Source§impl Default for AutosaveSettingsException
impl Default for AutosaveSettingsException
Source§fn default() -> AutosaveSettingsException
fn default() -> AutosaveSettingsException
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AutosaveSettingsException
impl<'de> Deserialize<'de> for AutosaveSettingsException
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
impl StructuralPartialEq for AutosaveSettingsException
Auto Trait Implementations§
impl Freeze for AutosaveSettingsException
impl RefUnwindSafe for AutosaveSettingsException
impl Send for AutosaveSettingsException
impl Sync for AutosaveSettingsException
impl Unpin for AutosaveSettingsException
impl UnwindSafe for AutosaveSettingsException
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