[][src]Struct shelper::jobs::JobDetails

pub struct JobDetails {
    pub id: String,
    pub browser_version: String,
    pub os: String,
    pub browser: String,
    pub build: Option<String>,
    pub name: Option<String>,
    pub proxied: bool,
    pub manual: Option<bool>,
    pub video_url: String,
    pub log_url: String,
    pub creation_time: u64,
    pub owner: String,
    pub passed: Option<bool>,
    pub selenium_version: Option<String>,
    pub public: String,
    pub consolidated_status: String,
    pub commands_not_successful: u32,
    pub assigned_tunnel_id: Option<String>,
    pub app: Option<String>,
    pub automation_backend: String,
    pub pre_run_executable: Option<String>,
    pub error: Option<String>,
    pub performance_enabled: Option<bool>,
    pub start_time: Option<i64>,
    pub region: Region,
}

JobDetails contains all the metadata for a single Sauce Labs job. A job is a Desktop, Android Emulator, or iOS Simulator session at the time of this writing. May change to include Real Devcices in the future

Fields

id: Stringbrowser_version: Stringos: Stringbrowser: Stringbuild: Option<String>name: Option<String>proxied: boolmanual: Option<bool>video_url: Stringlog_url: Stringcreation_time: u64owner: Stringpassed: Option<bool>selenium_version: Option<String>public: Stringconsolidated_status: Stringcommands_not_successful: u32assigned_tunnel_id: Option<String>app: Option<String>automation_backend: Stringpre_run_executable: Option<String>error: Option<String>performance_enabled: Option<bool>start_time: Option<i64>region: Region

Implementations

impl JobDetails[src]

pub fn new(
    job_id: &str,
    owner: &User,
    super_admin: Option<&User>
) -> Result<JobDetails, Box<dyn Error>>
[src]

Construct new JobDetails object which contains all the metadata for a single job

pub fn pretty_print(&self)[src]

pretty_print prints the details to stdout. An artisanal method to print the test details in the most beautiful way possible

Trait Implementations

impl Debug for JobDetails[src]

impl<'de> Deserialize<'de> for JobDetails[src]

impl Serialize for JobDetails[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.