pub struct TelegramSettings {
pub concurrent_downloads: u32,
pub fix_file_extensions: bool,
}Fields§
§concurrent_downloads: u32§fix_file_extensions: boolTrait Implementations§
Source§impl Clone for TelegramSettings
impl Clone for TelegramSettings
Source§fn clone(&self) -> TelegramSettings
fn clone(&self) -> TelegramSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TelegramSettings
impl Debug for TelegramSettings
Source§impl Default for TelegramSettings
impl Default for TelegramSettings
Source§impl<'de> Deserialize<'de> for TelegramSettings
impl<'de> Deserialize<'de> for TelegramSettings
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
Auto Trait Implementations§
impl Freeze for TelegramSettings
impl RefUnwindSafe for TelegramSettings
impl Send for TelegramSettings
impl Sync for TelegramSettings
impl Unpin for TelegramSettings
impl UnsafeUnpin for TelegramSettings
impl UnwindSafe for TelegramSettings
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