pub struct Additional {Show 20 fields
pub(super) is_chrome_icon: bool,
pub(super) accelerated_2d_canvas: bool,
pub(super) profile_name: String,
pub(super) rect_noise: f64,
pub(super) is_webrtc_enabled: bool,
pub(super) webrtc_ip: String,
pub(super) is_windows: bool,
pub(super) is_win10: bool,
pub(super) is_fake_media: bool,
pub(super) profile_icon: i8,
pub(super) is_canvas_blocked: bool,
pub(super) ostype: i8,
pub(super) canvas_noise_seed: i32,
pub(super) webgl_noise_seed: i32,
pub(super) extensions_new_naming: bool,
pub(super) smart_paste_shift: f32,
pub(super) is_real_webrtc: bool,
pub(super) is_webrtc_connection_enabled: bool,
pub(super) is_webrtc_realtime_ip_update_enabled: bool,
pub(super) should_show_profile_name: bool,
}Expand description
Additional configuration settings for a browser profile
Contains various settings that control browser behavior and appearance, including WebRTC configuration, canvas/WebGL settings, platform-specific flags, and profile display options.
Fields§
§is_chrome_icon: bool§accelerated_2d_canvas: bool§profile_name: String§rect_noise: f64§is_webrtc_enabled: bool§webrtc_ip: String§is_windows: bool§is_win10: bool§is_fake_media: bool§profile_icon: i8§is_canvas_blocked: bool§ostype: i8§canvas_noise_seed: i32§webgl_noise_seed: i32§extensions_new_naming: bool§smart_paste_shift: f32§is_real_webrtc: bool§is_webrtc_connection_enabled: bool§is_webrtc_realtime_ip_update_enabled: bool§should_show_profile_name: boolTrait Implementations§
source§impl Clone for Additional
impl Clone for Additional
source§fn clone(&self) -> Additional
fn clone(&self) -> Additional
Returns a copy 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 Additional
impl Debug for Additional
source§impl<'de> Deserialize<'de> for Additional
impl<'de> Deserialize<'de> for Additional
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
source§impl FromStartRequest<Additional> for Additional
impl FromStartRequest<Additional> for Additional
Implementation of the FromStartRequest trait for Additional configuration
This implementation creates an Additional configuration from a browser profile, start request, and other parameters. It handles the logic for setting up WebRTC, canvas/WebGL noise, platform-specific settings, and other configuration options.
source§fn from_start_request(
bp: &BrowserProfileFullData,
request: &StartRequest,
_navigator: &Navigator,
_screen: &Screen,
_token: &str,
) -> Result<Self, Error>
fn from_start_request( bp: &BrowserProfileFullData, request: &StartRequest, _navigator: &Navigator, _screen: &Screen, _token: &str, ) -> Result<Self, Error>
Creates an Additional configuration from the provided parameters
§Arguments
bp- The full browser profile datarequest- The start request containing connection information_navigator- Navigator configuration (unused)_screen- Screen configuration (unused)_token- Authentication token (unused)
§Returns
Returns a Result containing the Additional configuration or an Error
source§impl PartialEq for Additional
impl PartialEq for Additional
source§impl Serialize for Additional
impl Serialize for Additional
impl StructuralPartialEq for Additional
Auto Trait Implementations§
impl Freeze for Additional
impl RefUnwindSafe for Additional
impl Send for Additional
impl Sync for Additional
impl Unpin for Additional
impl UnwindSafe for Additional
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.