Struct aws_sdk_devicefarm::types::Sample
source · #[non_exhaustive]pub struct Sample {
pub arn: Option<String>,
pub type: Option<SampleType>,
pub url: Option<String>,
}
Expand description
Represents a sample of performance data.
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 sample's ARN.
type: Option<SampleType>
The sample's type.
Must be one of the following values:
-
CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.
-
MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.
-
NATIVE_AVG_DRAWTIME
-
NATIVE_FPS
-
NATIVE_FRAMES
-
NATIVE_MAX_DRAWTIME
-
NATIVE_MIN_DRAWTIME
-
OPENGL_AVG_DRAWTIME
-
OPENGL_FPS
-
OPENGL_FRAMES
-
OPENGL_MAX_DRAWTIME
-
OPENGL_MIN_DRAWTIME
-
RX
-
RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.
-
THREADS: A threads sample type. This is expressed as the total number of threads per app process.
-
TX
-
TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.
url: Option<String>
The presigned Amazon S3 URL that can be used with a GET request to download the sample's file.
Implementations§
source§impl Sample
impl Sample
sourcepub fn type(&self) -> Option<&SampleType>
pub fn type(&self) -> Option<&SampleType>
The sample's type.
Must be one of the following values:
-
CPU: A CPU sample type. This is expressed as the app processing CPU time (including child processes) as reported by process, as a percentage.
-
MEMORY: A memory usage sample type. This is expressed as the total proportional set size of an app process, in kilobytes.
-
NATIVE_AVG_DRAWTIME
-
NATIVE_FPS
-
NATIVE_FRAMES
-
NATIVE_MAX_DRAWTIME
-
NATIVE_MIN_DRAWTIME
-
OPENGL_AVG_DRAWTIME
-
OPENGL_FPS
-
OPENGL_FRAMES
-
OPENGL_MAX_DRAWTIME
-
OPENGL_MIN_DRAWTIME
-
RX
-
RX_RATE: The total number of bytes per second (TCP and UDP) that are sent, by app process.
-
THREADS: A threads sample type. This is expressed as the total number of threads per app process.
-
TX
-
TX_RATE: The total number of bytes per second (TCP and UDP) that are received, by app process.
Trait Implementations§
source§impl PartialEq for Sample
impl PartialEq for Sample
impl StructuralPartialEq for Sample
Auto Trait Implementations§
impl Freeze for Sample
impl RefUnwindSafe for Sample
impl Send for Sample
impl Sync for Sample
impl Unpin for Sample
impl UnwindSafe for Sample
Blanket Implementations§
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§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