pub struct StartRequest {Show 21 fields
pub browser_profile_id: usize,
pub os: Os,
pub versions: Versions,
pub automation: bool,
pub headless: bool,
pub imageless: bool,
pub use_action_synchronizator: bool,
pub action_synchronizator_session_name: Option<String>,
pub action_synchronizator_is_owned: Option<bool>,
pub scenum_custom_mode: bool,
pub for_scenario: bool,
pub use_mock_profile: bool,
pub user_screen_width: u16,
pub user_screen_height: u16,
pub connection_info: ConnectionInfo,
pub dolphin_integration_token: Option<String>,
pub remote_api_base_url: String,
pub paths: UserPaths,
pub logging_level: LoggingLevel,
pub browser_down_port: u16,
pub present_datadir_hash: Option<String>,
}Expand description
Request structure for starting a browser profile.
Fields§
§browser_profile_id: usizeUnique identifier of the browser profile to start
os: OsPlatform that user is running our software on
versions: VersionsVersion information for various components
automation: boolWhether to enable automation mode
headless: boolWhether to run browser in headless mode (no GUI)
imageless: boolWhether to disable images loading
use_action_synchronizator: boolWhether to use action synchronization between browser profiles
action_synchronizator_session_name: Option<String>Name of the session to synchronize with.
Required if use_action_synchronizator is true.
action_synchronizator_is_owned: Option<bool>Whether this profile owns the synchronization session (so the profile is master).
scenum_custom_mode: boolWhether to enable custom mode for scenario execution
for_scenario: boolFor scenario constructor. Implies that user may use mock profile (or may not, so be cautious).
use_mock_profile: boolWhether to use a mock profile instead of a real one
user_screen_width: u16Width of the user’s screen in pixels
user_screen_height: u16Height of the user’s screen in pixels
connection_info: ConnectionInfoConnection and geolocation information
dolphin_integration_token: Option<String>Optional token for Dolphin integration
remote_api_base_url: StringBase URL for remote API calls
paths: UserPathsFile system paths configuration
logging_level: LoggingLevelLogging verbosity level
browser_down_port: u16Port number for browser download operations
present_datadir_hash: Option<String>Hash of the present datadir. If provided, we may send the diff url alongside the whole datadir url.
Implementations§
source§impl StartRequest
impl StartRequest
Trait Implementations§
source§impl Clone for StartRequest
impl Clone for StartRequest
source§fn clone(&self) -> StartRequest
fn clone(&self) -> StartRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for StartRequest
impl Debug for StartRequest
source§impl<'de> Deserialize<'de> for StartRequest
impl<'de> Deserialize<'de> for StartRequest
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>,
source§impl Serialize for StartRequest
impl Serialize for StartRequest
Auto Trait Implementations§
impl Freeze for StartRequest
impl RefUnwindSafe for StartRequest
impl Send for StartRequest
impl Sync for StartRequest
impl Unpin for StartRequest
impl UnwindSafe for StartRequest
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