#[non_exhaustive]pub struct OutputBandBuilder { /* private fields */ }Expand description
A builder for OutputBand.
Implementations§
source§impl OutputBandBuilder
impl OutputBandBuilder
sourcepub fn band_name(self, input: impl Into<String>) -> Self
pub fn band_name(self, input: impl Into<String>) -> Self
The name of the band.
This field is required.sourcepub fn set_band_name(self, input: Option<String>) -> Self
pub fn set_band_name(self, input: Option<String>) -> Self
The name of the band.
sourcepub fn get_band_name(&self) -> &Option<String>
pub fn get_band_name(&self) -> &Option<String>
The name of the band.
sourcepub fn output_data_type(self, input: OutputType) -> Self
pub fn output_data_type(self, input: OutputType) -> Self
The datatype of the output band.
This field is required.sourcepub fn set_output_data_type(self, input: Option<OutputType>) -> Self
pub fn set_output_data_type(self, input: Option<OutputType>) -> Self
The datatype of the output band.
sourcepub fn get_output_data_type(&self) -> &Option<OutputType>
pub fn get_output_data_type(&self) -> &Option<OutputType>
The datatype of the output band.
sourcepub fn build(self) -> Result<OutputBand, BuildError>
pub fn build(self) -> Result<OutputBand, BuildError>
Consumes the builder and constructs a OutputBand.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for OutputBandBuilder
impl Clone for OutputBandBuilder
source§fn clone(&self) -> OutputBandBuilder
fn clone(&self) -> OutputBandBuilder
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 OutputBandBuilder
impl Debug for OutputBandBuilder
source§impl Default for OutputBandBuilder
impl Default for OutputBandBuilder
source§fn default() -> OutputBandBuilder
fn default() -> OutputBandBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OutputBandBuilder
impl PartialEq for OutputBandBuilder
source§fn eq(&self, other: &OutputBandBuilder) -> bool
fn eq(&self, other: &OutputBandBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OutputBandBuilder
Auto Trait Implementations§
impl Freeze for OutputBandBuilder
impl RefUnwindSafe for OutputBandBuilder
impl Send for OutputBandBuilder
impl Sync for OutputBandBuilder
impl Unpin for OutputBandBuilder
impl UnwindSafe for OutputBandBuilder
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.