pub struct BotAppSettings {
pub placeholder_path: Option<Vec<u8>>,
pub background_color: Option<i32>,
pub background_dark_color: Option<i32>,
pub header_color: Option<i32>,
pub header_dark_color: Option<i32>,
}Expand description
Generated from:
botAppSettings#c99b1950 flags:# placeholder_path:flags.0?bytes background_color:flags.1?int background_dark_color:flags.2?int header_color:flags.3?int header_dark_color:flags.4?int = BotAppSettingsFields§
§placeholder_path: Option<Vec<u8>>§background_color: Option<i32>§background_dark_color: Option<i32>§header_color: Option<i32>§header_dark_color: Option<i32>Trait Implementations§
Source§impl Clone for BotAppSettings
impl Clone for BotAppSettings
Source§fn clone(&self) -> BotAppSettings
fn clone(&self) -> BotAppSettings
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 BotAppSettings
impl Debug for BotAppSettings
Source§impl Deserializable for BotAppSettings
impl Deserializable for BotAppSettings
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<BotAppSettings> for BotAppSettings
impl From<BotAppSettings> for BotAppSettings
Source§fn from(x: BotAppSettings) -> Self
fn from(x: BotAppSettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for BotAppSettings
impl Identifiable for BotAppSettings
Source§const CONSTRUCTOR_ID: u32 = 0xc99b1950
const CONSTRUCTOR_ID: u32 = 0xc99b1950
The constructor ID as specified in the TL schema.
Source§impl PartialEq for BotAppSettings
impl PartialEq for BotAppSettings
Source§impl Serializable for BotAppSettings
impl Serializable for BotAppSettings
Source§impl TryFrom<BotAppSettings> for BotAppSettings
impl TryFrom<BotAppSettings> for BotAppSettings
Source§type Error = BotAppSettings
type Error = BotAppSettings
The type returned in the event of a conversion error.
impl StructuralPartialEq for BotAppSettings
Auto Trait Implementations§
impl Freeze for BotAppSettings
impl RefUnwindSafe for BotAppSettings
impl Send for BotAppSettings
impl Sync for BotAppSettings
impl Unpin for BotAppSettings
impl UnsafeUnpin for BotAppSettings
impl UnwindSafe for BotAppSettings
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