pub struct StatisticsParameters {
pub column_names: Option<Vec<String>>,
pub percentiles: Option<Vec<f64>>,
}Expand description
StatisticsParameters : The parameter spec for Statistics
Fields§
§column_names: Option<Vec<String>>§Vector data The names of the attributes to generate statistics for. # Raster data Optional: An alias for each input source. The operator will automatically name the rasters Raster-1, Raster-2, … if this parameter is empty. If aliases are given, the number of aliases must match the number of input rasters. Otherwise an error is returned.
percentiles: Option<Vec<f64>>The percentiles to compute for each attribute.
Implementations§
Source§impl StatisticsParameters
impl StatisticsParameters
Sourcepub fn new() -> StatisticsParameters
pub fn new() -> StatisticsParameters
The parameter spec for Statistics
Trait Implementations§
Source§impl Clone for StatisticsParameters
impl Clone for StatisticsParameters
Source§fn clone(&self) -> StatisticsParameters
fn clone(&self) -> StatisticsParameters
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StatisticsParameters
impl Debug for StatisticsParameters
Source§impl Default for StatisticsParameters
impl Default for StatisticsParameters
Source§fn default() -> StatisticsParameters
fn default() -> StatisticsParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StatisticsParameters
impl<'de> Deserialize<'de> for StatisticsParameters
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for StatisticsParameters
impl PartialEq for StatisticsParameters
Source§fn eq(&self, other: &StatisticsParameters) -> bool
fn eq(&self, other: &StatisticsParameters) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for StatisticsParameters
impl Serialize for StatisticsParameters
impl StructuralPartialEq for StatisticsParameters
Auto Trait Implementations§
impl Freeze for StatisticsParameters
impl RefUnwindSafe for StatisticsParameters
impl Send for StatisticsParameters
impl Sync for StatisticsParameters
impl Unpin for StatisticsParameters
impl UnsafeUnpin for StatisticsParameters
impl UnwindSafe for StatisticsParameters
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
Mutably borrows from an owned value. Read more