Struct aws_sdk_qbusiness::types::DataSource
source · #[non_exhaustive]pub struct DataSource {
pub display_name: Option<String>,
pub data_source_id: Option<String>,
pub type: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub status: Option<DataSourceStatus>,
}
Expand description
A data source in an Amazon Q Business application.
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.display_name: Option<String>
The name of the Amazon Q Business data source.
data_source_id: Option<String>
The identifier of the Amazon Q Business data source.
type: Option<String>
The type of the Amazon Q Business data source.
created_at: Option<DateTime>
The Unix timestamp when the Amazon Q Business data source was created.
updated_at: Option<DateTime>
The Unix timestamp when the Amazon Q Business data source was last updated.
status: Option<DataSourceStatus>
The status of the Amazon Q Business data source.
Implementations§
source§impl DataSource
impl DataSource
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The name of the Amazon Q Business data source.
sourcepub fn data_source_id(&self) -> Option<&str>
pub fn data_source_id(&self) -> Option<&str>
The identifier of the Amazon Q Business data source.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The Unix timestamp when the Amazon Q Business data source was created.
sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The Unix timestamp when the Amazon Q Business data source was last updated.
sourcepub fn status(&self) -> Option<&DataSourceStatus>
pub fn status(&self) -> Option<&DataSourceStatus>
The status of the Amazon Q Business data source.
source§impl DataSource
impl DataSource
sourcepub fn builder() -> DataSourceBuilder
pub fn builder() -> DataSourceBuilder
Creates a new builder-style object to manufacture DataSource
.
Trait Implementations§
source§impl Clone for DataSource
impl Clone for DataSource
source§fn clone(&self) -> DataSource
fn clone(&self) -> DataSource
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 DataSource
impl Debug for DataSource
source§impl PartialEq for DataSource
impl PartialEq for DataSource
source§fn eq(&self, other: &DataSource) -> bool
fn eq(&self, other: &DataSource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataSource
Auto Trait Implementations§
impl Freeze for DataSource
impl RefUnwindSafe for DataSource
impl Send for DataSource
impl Sync for DataSource
impl Unpin for DataSource
impl UnwindSafe for DataSource
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.