pub struct BrowserProfileFullData {Show 45 fields
pub id: u64,
pub user_id: i64,
pub team_id: i64,
pub name: String,
pub main_website: MainWebsite,
pub platform: Platform,
pub useragent: Useragent,
pub webrtc: Webrtc,
pub canvas: Canvas,
pub webgl: Webgl,
pub webgl_info: WebglInfo,
pub client_rect: ClientRect,
pub timezone: Timezone,
pub locale: Locale,
pub geolocation: Geolocation,
pub do_not_track: bool,
pub args: Args,
pub cpu: Cpu,
pub memory: Memory,
pub screen: Screen,
pub ports: Ports,
pub tabs: Tabs,
pub cpu_architecture: String,
pub os_version: String,
pub connection_downlink: f64,
pub connection_effective_type: String,
pub connection_rtt: u32,
pub connection_save_data: bool,
pub vendor_sub: String,
pub product_sub: String,
pub vendor: String,
pub product: String,
pub app_code_name: String,
pub media_devices: MediaDevices,
pub datadir_hash: Option<String>,
pub platform_version: String,
pub webgl2_maximum: Option<WebGL2Maximum>,
pub login: Option<String>,
pub password: Option<String>,
pub is_hidden_profile_name: bool,
pub webgpu: WebGPUInfo,
pub settings: SettingsList,
pub proxy: Option<ProxyFullData>,
pub created_at: OffsetDateTime,
pub homepages: Vec<Homepage>,
}Expand description
Complete representation of a browser profile including all fingerprinting and configuration data.
Fields§
§id: u64Unique identifier for the browser profile
user_id: i64ID of the user who owns this profile
team_id: i64ID of the team this profile belongs to
name: StringDisplay name of the browser profile
main_website: MainWebsitePrimary website associated with this profile
platform: PlatformOperating system platform configuration
useragent: UseragentUser agent configuration
webrtc: WebrtcWebRTC configuration
canvas: CanvasCanvas fingerprinting configuration
webgl: WebglWebGL configuration
webgl_info: WebglInfoWebGL capabilities and info configuration
client_rect: ClientRectClient rectangle/viewport configuration
timezone: TimezoneTimezone configuration
locale: LocaleLocale and language configuration
geolocation: GeolocationGeolocation configuration
do_not_track: boolWhether Do Not Track is enabled
args: ArgsCommand line arguments configuration
cpu: CpuCPU configuration
memory: MemoryMemory configuration
screen: ScreenScreen resolution configuration
ports: PortsNetwork ports configuration
tabs: TabsBrowser tabs configuration
cpu_architecture: StringCPU architecture string
os_version: StringOperating system version string
connection_downlink: f64Network connection downlink speed in Mbps
connection_effective_type: StringNetwork connection type (4g, 3g etc)
connection_rtt: u32Network round trip time in milliseconds
connection_save_data: boolWhether data saver is enabled
vendor_sub: StringBrowser vendor sub string
product_sub: StringBrowser product sub string
vendor: StringBrowser vendor string
product: StringBrowser product string
app_code_name: StringBrowser code name
media_devices: MediaDevicesMedia devices configuration
datadir_hash: Option<String>Hash of the profile’s data directory
platform_version: StringPlatform version string
webgl2_maximum: Option<WebGL2Maximum>WebGL2 capability limits
login: Option<String>Optional login credential
password: Option<String>Optional password credential
Whether the profile name should be hidden
webgpu: WebGPUInfoWebGPU configuration
settings: SettingsListBrowser settings configuration
proxy: Option<ProxyFullData>Optional proxy configuration
created_at: OffsetDateTimeTimestamp when the profile was created
homepages: Vec<Homepage>List of configured homepages
Implementations§
source§impl BrowserProfileFullData
impl BrowserProfileFullData
sourcepub async fn new(
browser_profile_fingerprint: BrowserProfileWithFingerprint,
settings: Vec<SettingsFullData>,
proxy: Option<ProxyFullData>,
homepages: Vec<Homepage>,
) -> AppResult<Self>
pub async fn new( browser_profile_fingerprint: BrowserProfileWithFingerprint, settings: Vec<SettingsFullData>, proxy: Option<ProxyFullData>, homepages: Vec<Homepage>, ) -> AppResult<Self>
Creates a new full browser profile from its components.
§Arguments
browser_profile_fingerprint- The base profile data with fingerprint informationsettings- List of browser settingsproxy- Optional proxy configurationhomepages- List of homepage configurations
§Returns
AppResult<Self>- The constructed profile or an error if parsing fails
§Errors
Returns an error if parsing any of the JSON fields fails
Trait Implementations§
source§impl Clone for BrowserProfileFullData
impl Clone for BrowserProfileFullData
source§fn clone(&self) -> BrowserProfileFullData
fn clone(&self) -> BrowserProfileFullData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BrowserProfileFullData
impl Debug for BrowserProfileFullData
source§impl From<BrowserProfileFullData> for MiniBrowserProfile
impl From<BrowserProfileFullData> for MiniBrowserProfile
source§fn from(browser_profile: BrowserProfileFullData) -> Self
fn from(browser_profile: BrowserProfileFullData) -> Self
Creates a minimal profile from a full profile
Auto Trait Implementations§
impl Freeze for BrowserProfileFullData
impl RefUnwindSafe for BrowserProfileFullData
impl Send for BrowserProfileFullData
impl Sync for BrowserProfileFullData
impl Unpin for BrowserProfileFullData
impl UnwindSafe for BrowserProfileFullData
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 = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
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
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)
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>
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>
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 more