#[non_exhaustive]pub struct ResamplingConfigInputBuilder { /* private fields */ }Expand description
A builder for ResamplingConfigInput.
Implementations§
source§impl ResamplingConfigInputBuilder
impl ResamplingConfigInputBuilder
sourcepub fn output_resolution(self, input: OutputResolutionResamplingInput) -> Self
pub fn output_resolution(self, input: OutputResolutionResamplingInput) -> Self
The structure representing output resolution (in target georeferenced units) of the result of resampling operation.
This field is required.sourcepub fn set_output_resolution(
self,
input: Option<OutputResolutionResamplingInput>,
) -> Self
pub fn set_output_resolution( self, input: Option<OutputResolutionResamplingInput>, ) -> Self
The structure representing output resolution (in target georeferenced units) of the result of resampling operation.
sourcepub fn get_output_resolution(&self) -> &Option<OutputResolutionResamplingInput>
pub fn get_output_resolution(&self) -> &Option<OutputResolutionResamplingInput>
The structure representing output resolution (in target georeferenced units) of the result of resampling operation.
sourcepub fn algorithm_name(self, input: AlgorithmNameResampling) -> Self
pub fn algorithm_name(self, input: AlgorithmNameResampling) -> Self
The name of the algorithm used for resampling.
sourcepub fn set_algorithm_name(self, input: Option<AlgorithmNameResampling>) -> Self
pub fn set_algorithm_name(self, input: Option<AlgorithmNameResampling>) -> Self
The name of the algorithm used for resampling.
sourcepub fn get_algorithm_name(&self) -> &Option<AlgorithmNameResampling>
pub fn get_algorithm_name(&self) -> &Option<AlgorithmNameResampling>
The name of the algorithm used for resampling.
sourcepub fn target_bands(self, input: impl Into<String>) -> Self
pub fn target_bands(self, input: impl Into<String>) -> Self
Appends an item to target_bands.
To override the contents of this collection use set_target_bands.
Bands used in the operation. If no target bands are specified, it uses all bands available in the input.
sourcepub fn set_target_bands(self, input: Option<Vec<String>>) -> Self
pub fn set_target_bands(self, input: Option<Vec<String>>) -> Self
Bands used in the operation. If no target bands are specified, it uses all bands available in the input.
sourcepub fn get_target_bands(&self) -> &Option<Vec<String>>
pub fn get_target_bands(&self) -> &Option<Vec<String>>
Bands used in the operation. If no target bands are specified, it uses all bands available in the input.
sourcepub fn build(self) -> ResamplingConfigInput
pub fn build(self) -> ResamplingConfigInput
Consumes the builder and constructs a ResamplingConfigInput.
Trait Implementations§
source§impl Clone for ResamplingConfigInputBuilder
impl Clone for ResamplingConfigInputBuilder
source§fn clone(&self) -> ResamplingConfigInputBuilder
fn clone(&self) -> ResamplingConfigInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ResamplingConfigInputBuilder
impl Debug for ResamplingConfigInputBuilder
source§impl Default for ResamplingConfigInputBuilder
impl Default for ResamplingConfigInputBuilder
source§fn default() -> ResamplingConfigInputBuilder
fn default() -> ResamplingConfigInputBuilder
source§impl PartialEq for ResamplingConfigInputBuilder
impl PartialEq for ResamplingConfigInputBuilder
source§fn eq(&self, other: &ResamplingConfigInputBuilder) -> bool
fn eq(&self, other: &ResamplingConfigInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ResamplingConfigInputBuilder
Auto Trait Implementations§
impl Freeze for ResamplingConfigInputBuilder
impl RefUnwindSafe for ResamplingConfigInputBuilder
impl Send for ResamplingConfigInputBuilder
impl Sync for ResamplingConfigInputBuilder
impl Unpin for ResamplingConfigInputBuilder
impl UnwindSafe for ResamplingConfigInputBuilder
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