#[non_exhaustive]pub struct UpdateDataSourceInput {
pub domain_name: Option<String>,
pub name: Option<String>,
pub data_source_type: Option<DataSourceType>,
pub description: Option<String>,
}
Expand description
Container for the parameters to the UpdateDataSource
operation.
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.domain_name: Option<String>
The name of the domain.
name: Option<String>
The name of the data source to modify.
data_source_type: Option<DataSourceType>
The type of data source.
description: Option<String>
A new description of the data source.
Implementations§
source§impl UpdateDataSourceInput
impl UpdateDataSourceInput
sourcepub fn domain_name(&self) -> Option<&str>
pub fn domain_name(&self) -> Option<&str>
The name of the domain.
sourcepub fn data_source_type(&self) -> Option<&DataSourceType>
pub fn data_source_type(&self) -> Option<&DataSourceType>
The type of data source.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A new description of the data source.
source§impl UpdateDataSourceInput
impl UpdateDataSourceInput
sourcepub fn builder() -> UpdateDataSourceInputBuilder
pub fn builder() -> UpdateDataSourceInputBuilder
Creates a new builder-style object to manufacture UpdateDataSourceInput
.
Trait Implementations§
source§impl Clone for UpdateDataSourceInput
impl Clone for UpdateDataSourceInput
source§fn clone(&self) -> UpdateDataSourceInput
fn clone(&self) -> UpdateDataSourceInput
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 UpdateDataSourceInput
impl Debug for UpdateDataSourceInput
source§impl PartialEq for UpdateDataSourceInput
impl PartialEq for UpdateDataSourceInput
source§fn eq(&self, other: &UpdateDataSourceInput) -> bool
fn eq(&self, other: &UpdateDataSourceInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateDataSourceInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateDataSourceInput
impl Send for UpdateDataSourceInput
impl Sync for UpdateDataSourceInput
impl Unpin for UpdateDataSourceInput
impl UnwindSafe for UpdateDataSourceInput
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.