pub struct AutoSaveSettings {
pub photos: bool,
pub videos: bool,
pub video_max_size: Option<i64>,
}Expand description
Generated from:
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§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
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 = 0xc84834ce
const CONSTRUCTOR_ID: u32 = 0xc84834ce
The constructor ID as specified in the TL schema.
Source§impl PartialEq for AutoSaveSettings
impl PartialEq for AutoSaveSettings
Source§impl Serializable for AutoSaveSettings
impl Serializable for AutoSaveSettings
Source§impl TryFrom<AutoSaveSettings> for AutoSaveSettings
impl TryFrom<AutoSaveSettings> for AutoSaveSettings
Source§type Error = AutoSaveSettings
type Error = AutoSaveSettings
The type returned in the event of a conversion error.
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