#[non_exhaustive]pub struct UpdateDatabaseInput {
pub catalog_id: Option<String>,
pub name: Option<String>,
pub database_input: Option<DatabaseInput>,
}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.catalog_id: Option<String>The ID of the Data Catalog in which the metadata database resides. If none is provided, the Amazon Web Services account ID is used by default.
name: Option<String>The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.
database_input: Option<DatabaseInput>A DatabaseInput object specifying the new definition of the metadata database in the catalog.
Implementations§
source§impl UpdateDatabaseInput
impl UpdateDatabaseInput
sourcepub fn catalog_id(&self) -> Option<&str>
pub fn catalog_id(&self) -> Option<&str>
The ID of the Data Catalog in which the metadata database resides. If none is provided, the Amazon Web Services account ID is used by default.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the database to update in the catalog. For Hive compatibility, this is folded to lowercase.
sourcepub fn database_input(&self) -> Option<&DatabaseInput>
pub fn database_input(&self) -> Option<&DatabaseInput>
A DatabaseInput object specifying the new definition of the metadata database in the catalog.
source§impl UpdateDatabaseInput
impl UpdateDatabaseInput
sourcepub fn builder() -> UpdateDatabaseInputBuilder
pub fn builder() -> UpdateDatabaseInputBuilder
Creates a new builder-style object to manufacture UpdateDatabaseInput.
Trait Implementations§
source§impl Clone for UpdateDatabaseInput
impl Clone for UpdateDatabaseInput
source§fn clone(&self) -> UpdateDatabaseInput
fn clone(&self) -> UpdateDatabaseInput
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 UpdateDatabaseInput
impl Debug for UpdateDatabaseInput
source§impl PartialEq for UpdateDatabaseInput
impl PartialEq for UpdateDatabaseInput
source§fn eq(&self, other: &UpdateDatabaseInput) -> bool
fn eq(&self, other: &UpdateDatabaseInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateDatabaseInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDatabaseInput
impl Send for UpdateDatabaseInput
impl Sync for UpdateDatabaseInput
impl Unpin for UpdateDatabaseInput
impl UnwindSafe for UpdateDatabaseInput
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.