#[non_exhaustive]pub struct SuiteRunInformation {
pub suite_definition_id: Option<String>,
pub suite_definition_version: Option<String>,
pub suite_definition_name: Option<String>,
pub suite_run_id: Option<String>,
pub created_at: Option<DateTime>,
pub started_at: Option<DateTime>,
pub end_at: Option<DateTime>,
pub status: Option<SuiteRunStatus>,
pub passed: i32,
pub failed: i32,
}
Expand description
Information about the suite run.
Requires permission to access the SuiteRunInformation action.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.suite_definition_id: Option<String>
Suite definition ID of the suite run.
suite_definition_version: Option<String>
Suite definition version of the suite run.
suite_definition_name: Option<String>
Suite definition name of the suite run.
suite_run_id: Option<String>
Suite run ID of the suite run.
created_at: Option<DateTime>
Date (in Unix epoch time) when the suite run was created.
started_at: Option<DateTime>
Date (in Unix epoch time) when the suite run was started.
end_at: Option<DateTime>
Date (in Unix epoch time) when the suite run ended.
status: Option<SuiteRunStatus>
Status of the suite run.
passed: i32
Number of test cases that passed in the suite run.
failed: i32
Number of test cases that failed in the suite run.
Implementations
sourceimpl SuiteRunInformation
impl SuiteRunInformation
sourcepub fn suite_definition_id(&self) -> Option<&str>
pub fn suite_definition_id(&self) -> Option<&str>
Suite definition ID of the suite run.
sourcepub fn suite_definition_version(&self) -> Option<&str>
pub fn suite_definition_version(&self) -> Option<&str>
Suite definition version of the suite run.
sourcepub fn suite_definition_name(&self) -> Option<&str>
pub fn suite_definition_name(&self) -> Option<&str>
Suite definition name of the suite run.
sourcepub fn suite_run_id(&self) -> Option<&str>
pub fn suite_run_id(&self) -> Option<&str>
Suite run ID of the suite run.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
Date (in Unix epoch time) when the suite run was created.
sourcepub fn started_at(&self) -> Option<&DateTime>
pub fn started_at(&self) -> Option<&DateTime>
Date (in Unix epoch time) when the suite run was started.
sourcepub fn status(&self) -> Option<&SuiteRunStatus>
pub fn status(&self) -> Option<&SuiteRunStatus>
Status of the suite run.
sourceimpl SuiteRunInformation
impl SuiteRunInformation
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SuiteRunInformation
Trait Implementations
sourceimpl Clone for SuiteRunInformation
impl Clone for SuiteRunInformation
sourcefn clone(&self) -> SuiteRunInformation
fn clone(&self) -> SuiteRunInformation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SuiteRunInformation
impl Debug for SuiteRunInformation
sourceimpl PartialEq<SuiteRunInformation> for SuiteRunInformation
impl PartialEq<SuiteRunInformation> for SuiteRunInformation
sourcefn eq(&self, other: &SuiteRunInformation) -> bool
fn eq(&self, other: &SuiteRunInformation) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SuiteRunInformation) -> bool
fn ne(&self, other: &SuiteRunInformation) -> bool
This method tests for !=
.
impl StructuralPartialEq for SuiteRunInformation
Auto Trait Implementations
impl RefUnwindSafe for SuiteRunInformation
impl Send for SuiteRunInformation
impl Sync for SuiteRunInformation
impl Unpin for SuiteRunInformation
impl UnwindSafe for SuiteRunInformation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more