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