#[non_exhaustive]pub struct OutputResolutionStackInput {
pub predefined: Option<PredefinedResolution>,
pub user_defined: Option<UserDefined>,
}
Expand description
The input structure representing Output Resolution for Stacking 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.predefined: Option<PredefinedResolution>
A string value representing Predefined Output Resolution for a stacking operation. Allowed values are HIGHEST
, LOWEST
, and AVERAGE
.
user_defined: Option<UserDefined>
The structure representing User Output Resolution for a Stacking operation defined as a value and unit.
Implementations§
source§impl OutputResolutionStackInput
impl OutputResolutionStackInput
sourcepub fn predefined(&self) -> Option<&PredefinedResolution>
pub fn predefined(&self) -> Option<&PredefinedResolution>
A string value representing Predefined Output Resolution for a stacking operation. Allowed values are HIGHEST
, LOWEST
, and AVERAGE
.
sourcepub fn user_defined(&self) -> Option<&UserDefined>
pub fn user_defined(&self) -> Option<&UserDefined>
The structure representing User Output Resolution for a Stacking operation defined as a value and unit.
source§impl OutputResolutionStackInput
impl OutputResolutionStackInput
sourcepub fn builder() -> OutputResolutionStackInputBuilder
pub fn builder() -> OutputResolutionStackInputBuilder
Creates a new builder-style object to manufacture OutputResolutionStackInput
.
Trait Implementations§
source§impl Clone for OutputResolutionStackInput
impl Clone for OutputResolutionStackInput
source§fn clone(&self) -> OutputResolutionStackInput
fn clone(&self) -> OutputResolutionStackInput
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 OutputResolutionStackInput
impl Debug for OutputResolutionStackInput
source§impl PartialEq for OutputResolutionStackInput
impl PartialEq for OutputResolutionStackInput
source§fn eq(&self, other: &OutputResolutionStackInput) -> bool
fn eq(&self, other: &OutputResolutionStackInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutputResolutionStackInput
Auto Trait Implementations§
impl RefUnwindSafe for OutputResolutionStackInput
impl Send for OutputResolutionStackInput
impl Sync for OutputResolutionStackInput
impl Unpin for OutputResolutionStackInput
impl UnwindSafe for OutputResolutionStackInput
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>
Creates a shared type from an unshared type.