Struct aws_sdk_bedrockagent::types::DataSourceSummary
source · #[non_exhaustive]pub struct DataSourceSummary {
pub knowledge_base_id: String,
pub data_source_id: String,
pub name: String,
pub status: DataSourceStatus,
pub description: Option<String>,
pub updated_at: DateTime,
}Expand description
Summary information of a 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.knowledge_base_id: StringIdentifier for a resource.
data_source_id: StringIdentifier for a resource.
name: StringName for a resource.
status: DataSourceStatusThe status of a data source.
description: Option<String>Description of the Resource.
updated_at: DateTimeTime Stamp.
Implementations§
source§impl DataSourceSummary
impl DataSourceSummary
sourcepub fn knowledge_base_id(&self) -> &str
pub fn knowledge_base_id(&self) -> &str
Identifier for a resource.
sourcepub fn data_source_id(&self) -> &str
pub fn data_source_id(&self) -> &str
Identifier for a resource.
sourcepub fn status(&self) -> &DataSourceStatus
pub fn status(&self) -> &DataSourceStatus
The status of a data source.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description of the Resource.
sourcepub fn updated_at(&self) -> &DateTime
pub fn updated_at(&self) -> &DateTime
Time Stamp.
source§impl DataSourceSummary
impl DataSourceSummary
sourcepub fn builder() -> DataSourceSummaryBuilder
pub fn builder() -> DataSourceSummaryBuilder
Creates a new builder-style object to manufacture DataSourceSummary.
Trait Implementations§
source§impl Clone for DataSourceSummary
impl Clone for DataSourceSummary
source§fn clone(&self) -> DataSourceSummary
fn clone(&self) -> DataSourceSummary
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 DataSourceSummary
impl Debug for DataSourceSummary
source§impl PartialEq for DataSourceSummary
impl PartialEq for DataSourceSummary
source§fn eq(&self, other: &DataSourceSummary) -> bool
fn eq(&self, other: &DataSourceSummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DataSourceSummary
Auto Trait Implementations§
impl RefUnwindSafe for DataSourceSummary
impl Send for DataSourceSummary
impl Sync for DataSourceSummary
impl Unpin for DataSourceSummary
impl UnwindSafe for DataSourceSummary
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.