Struct aws_sdk_lakeformation::types::WorkUnitRange
source · #[non_exhaustive]pub struct WorkUnitRange {
pub work_unit_id_max: i64,
pub work_unit_id_min: i64,
pub work_unit_token: String,
}
Expand description
Defines the valid range of work unit IDs for querying the execution service.
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.work_unit_id_max: i64
Defines the maximum work unit ID in the range. The maximum value is inclusive.
work_unit_id_min: i64
Defines the minimum work unit ID in the range.
work_unit_token: String
A work token used to query the execution service.
Implementations§
source§impl WorkUnitRange
impl WorkUnitRange
sourcepub fn work_unit_id_max(&self) -> i64
pub fn work_unit_id_max(&self) -> i64
Defines the maximum work unit ID in the range. The maximum value is inclusive.
sourcepub fn work_unit_id_min(&self) -> i64
pub fn work_unit_id_min(&self) -> i64
Defines the minimum work unit ID in the range.
sourcepub fn work_unit_token(&self) -> &str
pub fn work_unit_token(&self) -> &str
A work token used to query the execution service.
source§impl WorkUnitRange
impl WorkUnitRange
sourcepub fn builder() -> WorkUnitRangeBuilder
pub fn builder() -> WorkUnitRangeBuilder
Creates a new builder-style object to manufacture WorkUnitRange
.
Trait Implementations§
source§impl Clone for WorkUnitRange
impl Clone for WorkUnitRange
source§fn clone(&self) -> WorkUnitRange
fn clone(&self) -> WorkUnitRange
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 WorkUnitRange
impl Debug for WorkUnitRange
source§impl PartialEq for WorkUnitRange
impl PartialEq for WorkUnitRange
source§fn eq(&self, other: &WorkUnitRange) -> bool
fn eq(&self, other: &WorkUnitRange) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for WorkUnitRange
Auto Trait Implementations§
impl Freeze for WorkUnitRange
impl RefUnwindSafe for WorkUnitRange
impl Send for WorkUnitRange
impl Sync for WorkUnitRange
impl Unpin for WorkUnitRange
impl UnwindSafe for WorkUnitRange
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.