pub struct UpdateAutosaveSettings {
pub scope: AutosaveSettingsScope,
pub settings: Option<ScopeAutosaveSettings>,
}
Expand description
Autosave settings for some type of chats were updated
Fields§
§scope: AutosaveSettingsScope
Type of chats for which autosave settings were updated
settings: Option<ScopeAutosaveSettings>
The new autosave settings; may be null if the settings are reset to default
Trait Implementations§
Source§impl Clone for UpdateAutosaveSettings
impl Clone for UpdateAutosaveSettings
Source§fn clone(&self) -> UpdateAutosaveSettings
fn clone(&self) -> UpdateAutosaveSettings
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 UpdateAutosaveSettings
impl Debug for UpdateAutosaveSettings
Source§impl<'de> Deserialize<'de> for UpdateAutosaveSettings
impl<'de> Deserialize<'de> for UpdateAutosaveSettings
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 UpdateAutosaveSettings
impl PartialEq for UpdateAutosaveSettings
Source§impl Serialize for UpdateAutosaveSettings
impl Serialize for UpdateAutosaveSettings
impl StructuralPartialEq for UpdateAutosaveSettings
Auto Trait Implementations§
impl Freeze for UpdateAutosaveSettings
impl RefUnwindSafe for UpdateAutosaveSettings
impl Send for UpdateAutosaveSettings
impl Sync for UpdateAutosaveSettings
impl Unpin for UpdateAutosaveSettings
impl UnwindSafe for UpdateAutosaveSettings
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