pub struct AutoSaveSettings {
pub photos: bool,
pub videos: bool,
pub video_max_size: Option<i64>,
}Expand description
Generated from the following TL definition:
autoSaveSettings#c84834ce flags:# photos:flags.0?true videos:flags.1?true video_max_size:flags.2?long = AutoSaveSettingsFields§
§photos: bool§videos: bool§video_max_size: Option<i64>Trait Implementations§
Source§impl Clone for AutoSaveSettings
impl Clone for AutoSaveSettings
Source§fn clone(&self) -> AutoSaveSettings
fn clone(&self) -> AutoSaveSettings
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 AutoSaveSettings
impl Debug for AutoSaveSettings
Source§impl Deserializable for AutoSaveSettings
impl Deserializable for AutoSaveSettings
Source§impl From<AutoSaveSettings> for AutoSaveSettings
impl From<AutoSaveSettings> for AutoSaveSettings
Source§fn from(x: AutoSaveSettings) -> Self
fn from(x: AutoSaveSettings) -> Self
Converts to this type from the input type.
Source§impl From<AutoSaveSettings> for AutoSaveSettings
impl From<AutoSaveSettings> for AutoSaveSettings
Source§fn from(x: AutoSaveSettings) -> Self
fn from(x: AutoSaveSettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for AutoSaveSettings
impl Identifiable for AutoSaveSettings
Source§const CONSTRUCTOR_ID: u32 = 3360175310
const CONSTRUCTOR_ID: u32 = 3360175310
The unique identifier for the type.
Source§impl PartialEq for AutoSaveSettings
impl PartialEq for AutoSaveSettings
Source§impl Serializable for AutoSaveSettings
impl Serializable for AutoSaveSettings
impl StructuralPartialEq for AutoSaveSettings
Auto Trait Implementations§
impl Freeze for AutoSaveSettings
impl RefUnwindSafe for AutoSaveSettings
impl Send for AutoSaveSettings
impl Sync for AutoSaveSettings
impl Unpin for AutoSaveSettings
impl UnsafeUnpin for AutoSaveSettings
impl UnwindSafe for AutoSaveSettings
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