#[non_exhaustive]pub struct BandMathConfigInputBuilder { /* private fields */ }Expand description
A builder for BandMathConfigInput.
Implementations§
source§impl BandMathConfigInputBuilder
impl BandMathConfigInputBuilder
sourcepub fn predefined_indices(self, input: impl Into<String>) -> Self
pub fn predefined_indices(self, input: impl Into<String>) -> Self
Appends an item to predefined_indices.
To override the contents of this collection use set_predefined_indices.
One or many of the supported predefined indices to compute. Allowed values: NDVI, EVI2, MSAVI, NDWI, NDMI, NDSI, and WDRVI.
sourcepub fn set_predefined_indices(self, input: Option<Vec<String>>) -> Self
pub fn set_predefined_indices(self, input: Option<Vec<String>>) -> Self
One or many of the supported predefined indices to compute. Allowed values: NDVI, EVI2, MSAVI, NDWI, NDMI, NDSI, and WDRVI.
sourcepub fn get_predefined_indices(&self) -> &Option<Vec<String>>
pub fn get_predefined_indices(&self) -> &Option<Vec<String>>
One or many of the supported predefined indices to compute. Allowed values: NDVI, EVI2, MSAVI, NDWI, NDMI, NDSI, and WDRVI.
sourcepub fn custom_indices(self, input: CustomIndicesInput) -> Self
pub fn custom_indices(self, input: CustomIndicesInput) -> Self
CustomIndices that are computed.
sourcepub fn set_custom_indices(self, input: Option<CustomIndicesInput>) -> Self
pub fn set_custom_indices(self, input: Option<CustomIndicesInput>) -> Self
CustomIndices that are computed.
sourcepub fn get_custom_indices(&self) -> &Option<CustomIndicesInput>
pub fn get_custom_indices(&self) -> &Option<CustomIndicesInput>
CustomIndices that are computed.
sourcepub fn build(self) -> BandMathConfigInput
pub fn build(self) -> BandMathConfigInput
Consumes the builder and constructs a BandMathConfigInput.
Trait Implementations§
source§impl Clone for BandMathConfigInputBuilder
impl Clone for BandMathConfigInputBuilder
source§fn clone(&self) -> BandMathConfigInputBuilder
fn clone(&self) -> BandMathConfigInputBuilder
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 BandMathConfigInputBuilder
impl Debug for BandMathConfigInputBuilder
source§impl Default for BandMathConfigInputBuilder
impl Default for BandMathConfigInputBuilder
source§fn default() -> BandMathConfigInputBuilder
fn default() -> BandMathConfigInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for BandMathConfigInputBuilder
impl PartialEq for BandMathConfigInputBuilder
source§fn eq(&self, other: &BandMathConfigInputBuilder) -> bool
fn eq(&self, other: &BandMathConfigInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for BandMathConfigInputBuilder
Auto Trait Implementations§
impl Freeze for BandMathConfigInputBuilder
impl RefUnwindSafe for BandMathConfigInputBuilder
impl Send for BandMathConfigInputBuilder
impl Sync for BandMathConfigInputBuilder
impl Unpin for BandMathConfigInputBuilder
impl UnwindSafe for BandMathConfigInputBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.