Struct aws_sdk_glue::types::TableOptimizer
source · #[non_exhaustive]pub struct TableOptimizer {
pub type: Option<TableOptimizerType>,
pub configuration: Option<TableOptimizerConfiguration>,
pub last_run: Option<TableOptimizerRun>,
}Expand description
Contains details about an optimizer associated with a table.
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.type: Option<TableOptimizerType>The type of table optimizer. Currently, the only valid value is compaction.
configuration: Option<TableOptimizerConfiguration>A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
last_run: Option<TableOptimizerRun>A TableOptimizerRun object representing the last run of the table optimizer.
Implementations§
source§impl TableOptimizer
impl TableOptimizer
sourcepub fn type(&self) -> Option<&TableOptimizerType>
pub fn type(&self) -> Option<&TableOptimizerType>
The type of table optimizer. Currently, the only valid value is compaction.
sourcepub fn configuration(&self) -> Option<&TableOptimizerConfiguration>
pub fn configuration(&self) -> Option<&TableOptimizerConfiguration>
A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
sourcepub fn last_run(&self) -> Option<&TableOptimizerRun>
pub fn last_run(&self) -> Option<&TableOptimizerRun>
A TableOptimizerRun object representing the last run of the table optimizer.
source§impl TableOptimizer
impl TableOptimizer
sourcepub fn builder() -> TableOptimizerBuilder
pub fn builder() -> TableOptimizerBuilder
Creates a new builder-style object to manufacture TableOptimizer.
Trait Implementations§
source§impl Clone for TableOptimizer
impl Clone for TableOptimizer
source§fn clone(&self) -> TableOptimizer
fn clone(&self) -> TableOptimizer
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 TableOptimizer
impl Debug for TableOptimizer
source§impl PartialEq for TableOptimizer
impl PartialEq for TableOptimizer
source§fn eq(&self, other: &TableOptimizer) -> bool
fn eq(&self, other: &TableOptimizer) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TableOptimizer
Auto Trait Implementations§
impl RefUnwindSafe for TableOptimizer
impl Send for TableOptimizer
impl Sync for TableOptimizer
impl Unpin for TableOptimizer
impl UnwindSafe for TableOptimizer
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.