Struct aws_sdk_glue::types::SchemaChangePolicy
source · #[non_exhaustive]pub struct SchemaChangePolicy {
pub update_behavior: Option<UpdateBehavior>,
pub delete_behavior: Option<DeleteBehavior>,
}Expand description
A policy that specifies update and deletion behaviors for the crawler.
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.update_behavior: Option<UpdateBehavior>The update behavior when the crawler finds a changed schema.
delete_behavior: Option<DeleteBehavior>The deletion behavior when the crawler finds a deleted object.
Implementations§
source§impl SchemaChangePolicy
impl SchemaChangePolicy
sourcepub fn update_behavior(&self) -> Option<&UpdateBehavior>
pub fn update_behavior(&self) -> Option<&UpdateBehavior>
The update behavior when the crawler finds a changed schema.
sourcepub fn delete_behavior(&self) -> Option<&DeleteBehavior>
pub fn delete_behavior(&self) -> Option<&DeleteBehavior>
The deletion behavior when the crawler finds a deleted object.
source§impl SchemaChangePolicy
impl SchemaChangePolicy
sourcepub fn builder() -> SchemaChangePolicyBuilder
pub fn builder() -> SchemaChangePolicyBuilder
Creates a new builder-style object to manufacture SchemaChangePolicy.
Trait Implementations§
source§impl Clone for SchemaChangePolicy
impl Clone for SchemaChangePolicy
source§fn clone(&self) -> SchemaChangePolicy
fn clone(&self) -> SchemaChangePolicy
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 SchemaChangePolicy
impl Debug for SchemaChangePolicy
source§impl PartialEq for SchemaChangePolicy
impl PartialEq for SchemaChangePolicy
source§fn eq(&self, other: &SchemaChangePolicy) -> bool
fn eq(&self, other: &SchemaChangePolicy) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SchemaChangePolicy
Auto Trait Implementations§
impl RefUnwindSafe for SchemaChangePolicy
impl Send for SchemaChangePolicy
impl Sync for SchemaChangePolicy
impl Unpin for SchemaChangePolicy
impl UnwindSafe for SchemaChangePolicy
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.