#[non_exhaustive]pub struct BandMathConfigInput {
pub predefined_indices: Option<Vec<String>>,
pub custom_indices: Option<CustomIndicesInput>,
}
Expand description
Input structure for the BandMath operation type. Defines Predefined and CustomIndices to be computed using BandMath.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.predefined_indices: Option<Vec<String>>
One or many of the supported predefined indices to compute. Allowed values: NDVI
, EVI2
, MSAVI
, NDWI
, NDMI
, NDSI
, and WDRVI
.
custom_indices: Option<CustomIndicesInput>
CustomIndices that are computed.
Implementations§
source§impl BandMathConfigInput
impl BandMathConfigInput
sourcepub fn predefined_indices(&self) -> &[String]
pub fn predefined_indices(&self) -> &[String]
One or many of the supported predefined indices to compute. Allowed values: NDVI
, EVI2
, MSAVI
, NDWI
, NDMI
, NDSI
, and WDRVI
.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .predefined_indices.is_none()
.
sourcepub fn custom_indices(&self) -> Option<&CustomIndicesInput>
pub fn custom_indices(&self) -> Option<&CustomIndicesInput>
CustomIndices that are computed.
source§impl BandMathConfigInput
impl BandMathConfigInput
sourcepub fn builder() -> BandMathConfigInputBuilder
pub fn builder() -> BandMathConfigInputBuilder
Creates a new builder-style object to manufacture BandMathConfigInput
.
Trait Implementations§
source§impl Clone for BandMathConfigInput
impl Clone for BandMathConfigInput
source§fn clone(&self) -> BandMathConfigInput
fn clone(&self) -> BandMathConfigInput
Returns a copy of the value. Read more
1.0.0 · 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 BandMathConfigInput
impl Debug for BandMathConfigInput
source§impl PartialEq for BandMathConfigInput
impl PartialEq for BandMathConfigInput
source§fn eq(&self, other: &BandMathConfigInput) -> bool
fn eq(&self, other: &BandMathConfigInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BandMathConfigInput
Auto Trait Implementations§
impl RefUnwindSafe for BandMathConfigInput
impl Send for BandMathConfigInput
impl Sync for BandMathConfigInput
impl Unpin for BandMathConfigInput
impl UnwindSafe for BandMathConfigInput
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
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>
Creates a shared type from an unshared type.