#[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
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.
Source§impl UpdateDatabaseInput
impl UpdateDatabaseInput
Sourcepub fn deserialize(
deserializer: &mut dyn ShapeDeserializer,
) -> Result<Self, SerdeError>
pub fn deserialize( deserializer: &mut dyn ShapeDeserializer, ) -> Result<Self, SerdeError>
Deserializes this structure from a [ShapeDeserializer].
Trait Implementations§
Source§impl Clone for UpdateDatabaseInput
impl Clone for UpdateDatabaseInput
Source§fn clone(&self) -> UpdateDatabaseInput
fn clone(&self) -> UpdateDatabaseInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for UpdateDatabaseInput
impl Debug for UpdateDatabaseInput
Source§impl PartialEq for UpdateDatabaseInput
impl PartialEq for UpdateDatabaseInput
Source§impl SerializableStruct for UpdateDatabaseInput
impl SerializableStruct for UpdateDatabaseInput
Source§fn schema(&self) -> &Schema<'_>
fn schema(&self) -> &Schema<'_>
Source§fn serialize_members(
&self,
ser: &mut dyn ShapeSerializer,
) -> Result<(), SerdeError>
fn serialize_members( &self, ser: &mut dyn ShapeSerializer, ) -> Result<(), SerdeError>
impl StructuralPartialEq for UpdateDatabaseInput
Auto Trait Implementations§
impl Freeze for UpdateDatabaseInput
impl RefUnwindSafe for UpdateDatabaseInput
impl Send for UpdateDatabaseInput
impl Sync for UpdateDatabaseInput
impl Unpin for UpdateDatabaseInput
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> ⓘ
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> ⓘ
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 more