pub struct CodeSettings {
pub allow_flashcall: bool,
pub current_number: bool,
pub allow_app_hash: bool,
pub allow_missed_call: bool,
pub allow_firebase: bool,
pub unknown_number: bool,
pub logout_tokens: Option<Vec<Vec<u8>>>,
pub token: Option<String>,
pub app_sandbox: Option<bool>,
}Expand description
Generated from the following TL definition:
codeSettings#ad253d78 flags:# allow_flashcall:flags.0?true current_number:flags.1?true allow_app_hash:flags.4?true allow_missed_call:flags.5?true allow_firebase:flags.7?true unknown_number:flags.9?true logout_tokens:flags.6?Vector<bytes> token:flags.8?string app_sandbox:flags.8?Bool = CodeSettingsFields§
§allow_flashcall: bool§current_number: bool§allow_app_hash: bool§allow_missed_call: bool§allow_firebase: bool§unknown_number: bool§logout_tokens: Option<Vec<Vec<u8>>>§token: Option<String>§app_sandbox: Option<bool>Trait Implementations§
Source§impl Clone for CodeSettings
impl Clone for CodeSettings
Source§fn clone(&self) -> CodeSettings
fn clone(&self) -> CodeSettings
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 CodeSettings
impl Debug for CodeSettings
Source§impl Deserializable for CodeSettings
impl Deserializable for CodeSettings
Source§impl From<CodeSettings> for CodeSettings
impl From<CodeSettings> for CodeSettings
Source§fn from(x: CodeSettings) -> Self
fn from(x: CodeSettings) -> Self
Converts to this type from the input type.
Source§impl From<CodeSettings> for CodeSettings
impl From<CodeSettings> for CodeSettings
Source§fn from(x: CodeSettings) -> Self
fn from(x: CodeSettings) -> Self
Converts to this type from the input type.
Source§impl Identifiable for CodeSettings
impl Identifiable for CodeSettings
Source§const CONSTRUCTOR_ID: u32 = 2904898936
const CONSTRUCTOR_ID: u32 = 2904898936
The unique identifier for the type.
Source§impl PartialEq for CodeSettings
impl PartialEq for CodeSettings
Source§impl Serializable for CodeSettings
impl Serializable for CodeSettings
impl StructuralPartialEq for CodeSettings
Auto Trait Implementations§
impl Freeze for CodeSettings
impl RefUnwindSafe for CodeSettings
impl Send for CodeSettings
impl Sync for CodeSettings
impl Unpin for CodeSettings
impl UnsafeUnpin for CodeSettings
impl UnwindSafe for CodeSettings
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