#[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 ==.impl StructuralPartialEq for ResamplingConfigInput
Auto Trait Implementations§
impl Freeze for ResamplingConfigInput
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
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