Struct aws_sdk_cloudsearchdomain::model::FieldStats [−][src]
#[non_exhaustive]pub struct FieldStats {
pub min: Option<String>,
pub max: Option<String>,
pub count: i64,
pub missing: i64,
pub sum: f64,
pub sum_of_squares: f64,
pub mean: Option<String>,
pub stddev: f64,
}
Expand description
The statistics for a field calculated in the request.
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.min: Option<String>
The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or double-array
), min
is the string representation of a double-precision 64-bit floating point value. If the field is date
or date-array
, min
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
max: Option<String>
The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or double-array
), max
is the string representation of a double-precision 64-bit floating point value. If the field is date
or date-array
, max
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
count: i64
The number of documents that contain a value in the specified field in the result set.
missing: i64
The number of documents that do not contain a value in the specified field in the result set.
sum: f64
The sum of the field values across the documents in the result set. null
for date fields.
sum_of_squares: f64
The sum of all field values in the result set squared.
mean: Option<String>
The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or double-array
), mean
is the string representation of a double-precision 64-bit floating point value. If the field is date
or date-array
, mean
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
stddev: f64
The standard deviation of the values in the specified field in the result set.
Implementations
The minimum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or double-array
), min
is the string representation of a double-precision 64-bit floating point value. If the field is date
or date-array
, min
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
The maximum value found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or double-array
), max
is the string representation of a double-precision 64-bit floating point value. If the field is date
or date-array
, max
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
The number of documents that contain a value in the specified field in the result set.
The number of documents that do not contain a value in the specified field in the result set.
The sum of the field values across the documents in the result set. null
for date fields.
The sum of all field values in the result set squared.
The average of the values found in the specified field in the result set.
If the field is numeric (int
, int-array
, double
, or double-array
), mean
is the string representation of a double-precision 64-bit floating point value. If the field is date
or date-array
, mean
is the string representation of a date with the format specified in IETF RFC3339: yyyy-mm-ddTHH:mm:ss.SSSZ.
Creates a new builder-style object to manufacture FieldStats
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FieldStats
impl Send for FieldStats
impl Sync for FieldStats
impl Unpin for FieldStats
impl UnwindSafe for FieldStats
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more