#[non_exhaustive]pub struct ResamplingConfigInput {
pub output_resolution: Option<OutputResolutionResamplingInput>,
pub algorithm_name: Option<AlgorithmNameResampling>,
pub target_bands: Option<Vec<String>>,
}
Expand description
The structure representing input for resampling operation.
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.output_resolution: Option<OutputResolutionResamplingInput>
The structure representing output resolution (in target georeferenced units) of the result of resampling operation.
algorithm_name: Option<AlgorithmNameResampling>
The name of the algorithm used for resampling.
target_bands: Option<Vec<String>>
Bands used in the operation. If no target bands are specified, it uses all bands available in the input.
Implementations§
source§impl ResamplingConfigInput
impl ResamplingConfigInput
sourcepub fn output_resolution(&self) -> Option<&OutputResolutionResamplingInput>
pub fn 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) -> Option<&AlgorithmNameResampling>
pub fn algorithm_name(&self) -> Option<&AlgorithmNameResampling>
The name of the algorithm used for resampling.
sourcepub fn target_bands(&self) -> &[String]
pub fn target_bands(&self) -> &[String]
Bands used in the operation. If no target bands are specified, it uses all bands available in the input.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .target_bands.is_none()
.
source§impl ResamplingConfigInput
impl ResamplingConfigInput
sourcepub fn builder() -> ResamplingConfigInputBuilder
pub fn builder() -> ResamplingConfigInputBuilder
Creates a new builder-style object to manufacture ResamplingConfigInput
.
Trait Implementations§
source§impl Clone for ResamplingConfigInput
impl Clone for ResamplingConfigInput
source§fn clone(&self) -> ResamplingConfigInput
fn clone(&self) -> ResamplingConfigInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ResamplingConfigInput
impl Debug for ResamplingConfigInput
source§impl PartialEq for ResamplingConfigInput
impl PartialEq for ResamplingConfigInput
source§fn eq(&self, other: &ResamplingConfigInput) -> bool
fn eq(&self, other: &ResamplingConfigInput) -> bool
self
and other
values to be equal, and is used
by ==
.