#[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
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.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) -> Option<&[String]>
pub fn target_bands(&self) -> Option<&[String]>
Bands used in the operation. If no target bands are specified, it uses all bands available in the input.
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
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 ResamplingConfigInput
impl Debug for ResamplingConfigInput
source§impl PartialEq<ResamplingConfigInput> for ResamplingConfigInput
impl PartialEq<ResamplingConfigInput> for ResamplingConfigInput
source§fn eq(&self, other: &ResamplingConfigInput) -> bool
fn eq(&self, other: &ResamplingConfigInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ResamplingConfigInput
Auto Trait Implementations§
impl RefUnwindSafe for ResamplingConfigInput
impl Send for ResamplingConfigInput
impl Sync for ResamplingConfigInput
impl Unpin for ResamplingConfigInput
impl UnwindSafe for ResamplingConfigInput
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