Struct aws_sdk_opensearch::types::DataSourceDetails
source · #[non_exhaustive]pub struct DataSourceDetails {
pub data_source_type: Option<DataSourceType>,
pub name: Option<String>,
pub description: Option<String>,
pub status: Option<DataSourceStatus>,
}
Expand description
Details about a direct-query data source.
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.data_source_type: Option<DataSourceType>
The type of data source.
name: Option<String>
The name of the data source.
description: Option<String>
A description of the data source.
status: Option<DataSourceStatus>
The status of the data source.
Implementations§
source§impl DataSourceDetails
impl DataSourceDetails
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.
sourcepub fn status(&self) -> Option<&DataSourceStatus>
pub fn status(&self) -> Option<&DataSourceStatus>
The status of the data source.
source§impl DataSourceDetails
impl DataSourceDetails
sourcepub fn builder() -> DataSourceDetailsBuilder
pub fn builder() -> DataSourceDetailsBuilder
Creates a new builder-style object to manufacture DataSourceDetails
.
Trait Implementations§
source§impl Clone for DataSourceDetails
impl Clone for DataSourceDetails
source§fn clone(&self) -> DataSourceDetails
fn clone(&self) -> DataSourceDetails
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 DataSourceDetails
impl Debug for DataSourceDetails
source§impl PartialEq for DataSourceDetails
impl PartialEq for DataSourceDetails
source§fn eq(&self, other: &DataSourceDetails) -> bool
fn eq(&self, other: &DataSourceDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataSourceDetails
Auto Trait Implementations§
impl Freeze for DataSourceDetails
impl RefUnwindSafe for DataSourceDetails
impl Send for DataSourceDetails
impl Sync for DataSourceDetails
impl Unpin for DataSourceDetails
impl UnwindSafe for DataSourceDetails
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.