pub struct WebBrowserSettings {
pub open_external_browser: bool,
pub display_close_button: bool,
pub external_exceptions: Vec<WebDomainException>,
pub inapp_exceptions: Vec<WebDomainException>,
pub hash: i64,
}Expand description
Generated from:
account.webBrowserSettings#79eb8cb3 flags:# open_external_browser:flags.0?true display_close_button:flags.1?true external_exceptions:Vector<WebDomainException> inapp_exceptions:Vector<WebDomainException> hash:long = account.WebBrowserSettingsFields§
§open_external_browser: bool§external_exceptions: Vec<WebDomainException>§inapp_exceptions: Vec<WebDomainException>§hash: i64Trait Implementations§
Source§impl Clone for WebBrowserSettings
impl Clone for WebBrowserSettings
Source§fn clone(&self) -> WebBrowserSettings
fn clone(&self) -> WebBrowserSettings
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 WebBrowserSettings
impl Debug for WebBrowserSettings
Source§impl Deserializable for WebBrowserSettings
impl Deserializable for WebBrowserSettings
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<WebBrowserSettings> for WebBrowserSettings
impl From<WebBrowserSettings> for WebBrowserSettings
Source§fn from(x: WebBrowserSettings) -> Self
fn from(x: WebBrowserSettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for WebBrowserSettings
impl Identifiable for WebBrowserSettings
Source§const CONSTRUCTOR_ID: u32 = 0x79eb8cb3
const CONSTRUCTOR_ID: u32 = 0x79eb8cb3
The constructor ID as specified in the TL schema.
Source§impl PartialEq for WebBrowserSettings
impl PartialEq for WebBrowserSettings
Source§fn eq(&self, other: &WebBrowserSettings) -> bool
fn eq(&self, other: &WebBrowserSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serializable for WebBrowserSettings
impl Serializable for WebBrowserSettings
impl StructuralPartialEq for WebBrowserSettings
Source§impl TryFrom<WebBrowserSettings> for WebBrowserSettings
impl TryFrom<WebBrowserSettings> for WebBrowserSettings
Source§type Error = WebBrowserSettings
type Error = WebBrowserSettings
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for WebBrowserSettings
impl RefUnwindSafe for WebBrowserSettings
impl Send for WebBrowserSettings
impl Sync for WebBrowserSettings
impl Unpin for WebBrowserSettings
impl UnsafeUnpin for WebBrowserSettings
impl UnwindSafe for WebBrowserSettings
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