Struct aws_sdk_devicefarm::model::Artifact
source · [−]#[non_exhaustive]pub struct Artifact {
pub arn: Option<String>,
pub name: Option<String>,
pub type: Option<ArtifactType>,
pub extension: Option<String>,
pub url: Option<String>,
}Expand description
Represents the output of a test. Examples of artifacts include logs and screenshots.
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.arn: Option<String>The artifact's ARN.
name: Option<String>The artifact's name.
type: Option<ArtifactType>The artifact's type.
Allowed values include the following:
-
UNKNOWN
-
SCREENSHOT
-
DEVICE_LOG
-
MESSAGE_LOG
-
VIDEO_LOG
-
RESULT_LOG
-
SERVICE_LOG
-
WEBKIT_LOG
-
INSTRUMENTATION_OUTPUT
-
EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.
-
CALABASH_JSON_OUTPUT
-
CALABASH_PRETTY_OUTPUT
-
CALABASH_STANDARD_OUTPUT
-
CALABASH_JAVA_XML_OUTPUT
-
AUTOMATION_OUTPUT
-
APPIUM_SERVER_OUTPUT
-
APPIUM_JAVA_OUTPUT
-
APPIUM_JAVA_XML_OUTPUT
-
APPIUM_PYTHON_OUTPUT
-
APPIUM_PYTHON_XML_OUTPUT
-
EXPLORER_EVENT_LOG
-
EXPLORER_SUMMARY_LOG
-
APPLICATION_CRASH_REPORT
-
XCTEST_LOG
-
VIDEO
-
CUSTOMER_ARTIFACT
-
CUSTOMER_ARTIFACT_LOG
-
TESTSPEC_OUTPUT
extension: Option<String>The artifact's file extension.
url: Option<String>The presigned Amazon S3 URL that can be used with a GET request to download the artifact's file.
Implementations
sourceimpl Artifact
impl Artifact
sourcepub fn type(&self) -> Option<&ArtifactType>
pub fn type(&self) -> Option<&ArtifactType>
The artifact's type.
Allowed values include the following:
-
UNKNOWN
-
SCREENSHOT
-
DEVICE_LOG
-
MESSAGE_LOG
-
VIDEO_LOG
-
RESULT_LOG
-
SERVICE_LOG
-
WEBKIT_LOG
-
INSTRUMENTATION_OUTPUT
-
EXERCISER_MONKEY_OUTPUT: the artifact (log) generated by an Android fuzz test.
-
CALABASH_JSON_OUTPUT
-
CALABASH_PRETTY_OUTPUT
-
CALABASH_STANDARD_OUTPUT
-
CALABASH_JAVA_XML_OUTPUT
-
AUTOMATION_OUTPUT
-
APPIUM_SERVER_OUTPUT
-
APPIUM_JAVA_OUTPUT
-
APPIUM_JAVA_XML_OUTPUT
-
APPIUM_PYTHON_OUTPUT
-
APPIUM_PYTHON_XML_OUTPUT
-
EXPLORER_EVENT_LOG
-
EXPLORER_SUMMARY_LOG
-
APPLICATION_CRASH_REPORT
-
XCTEST_LOG
-
VIDEO
-
CUSTOMER_ARTIFACT
-
CUSTOMER_ARTIFACT_LOG
-
TESTSPEC_OUTPUT
Trait Implementations
impl StructuralPartialEq for Artifact
Auto Trait Implementations
impl RefUnwindSafe for Artifact
impl Send for Artifact
impl Sync for Artifact
impl Unpin for Artifact
impl UnwindSafe for Artifact
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