pub struct UpdateWebBrowserSettings {
pub open_external_browser: bool,
pub display_close_button: bool,
}Expand description
Generated from:
updateWebBrowserSettings#c39a2ade flags:# open_external_browser:flags.0?true display_close_button:flags.1?true = UpdateFields§
§open_external_browser: boolTrait Implementations§
Source§impl Clone for UpdateWebBrowserSettings
impl Clone for UpdateWebBrowserSettings
Source§fn clone(&self) -> UpdateWebBrowserSettings
fn clone(&self) -> UpdateWebBrowserSettings
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 UpdateWebBrowserSettings
impl Debug for UpdateWebBrowserSettings
Source§impl Deserializable for UpdateWebBrowserSettings
impl Deserializable for UpdateWebBrowserSettings
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<UpdateWebBrowserSettings> for Update
impl From<UpdateWebBrowserSettings> for Update
Source§fn from(x: UpdateWebBrowserSettings) -> Self
fn from(x: UpdateWebBrowserSettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateWebBrowserSettings
impl Identifiable for UpdateWebBrowserSettings
Source§const CONSTRUCTOR_ID: u32 = 0xc39a2ade
const CONSTRUCTOR_ID: u32 = 0xc39a2ade
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateWebBrowserSettings
impl PartialEq for UpdateWebBrowserSettings
Source§fn eq(&self, other: &UpdateWebBrowserSettings) -> bool
fn eq(&self, other: &UpdateWebBrowserSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateWebBrowserSettings
Auto Trait Implementations§
impl Freeze for UpdateWebBrowserSettings
impl RefUnwindSafe for UpdateWebBrowserSettings
impl Send for UpdateWebBrowserSettings
impl Sync for UpdateWebBrowserSettings
impl Unpin for UpdateWebBrowserSettings
impl UnsafeUnpin for UpdateWebBrowserSettings
impl UnwindSafe for UpdateWebBrowserSettings
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