[−][src]Struct shelper::jobs::JobDetails
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: String
browser_version: String
os: String
browser: String
build: Option<String>
name: Option<String>
proxied: bool
manual: Option<bool>
video_url: String
log_url: String
creation_time: u64
owner: String
passed: Option<bool>
selenium_version: Option<String>
public: String
consolidated_status: String
commands_not_successful: u32
assigned_tunnel_id: Option<String>
app: Option<String>
automation_backend: String
pre_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]
job_id: &str,
owner: &User,
super_admin: Option<&User>
) -> Result<JobDetails, Box<dyn Error>>
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]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for JobDetails
[src]
Auto Trait Implementations
impl RefUnwindSafe for JobDetails
impl Send for JobDetails
impl Sync for JobDetails
impl Unpin for JobDetails
impl UnwindSafe for JobDetails
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,