Struct aws_sdk_datazone::types::AssetItem
source · #[non_exhaustive]pub struct AssetItem {Show 14 fields
pub domain_id: String,
pub identifier: String,
pub name: String,
pub type_identifier: String,
pub type_revision: String,
pub external_identifier: Option<String>,
pub description: Option<String>,
pub created_at: Option<DateTime>,
pub created_by: Option<String>,
pub first_revision_created_at: Option<DateTime>,
pub first_revision_created_by: Option<String>,
pub glossary_terms: Option<Vec<String>>,
pub owning_project_id: String,
pub additional_attributes: Option<AssetItemAdditionalAttributes>,
}
Expand description
A Amazon DataZone inventory asset.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain_id: String
The identifier of the Amazon DataZone domain in which the inventory asset exists.
identifier: String
the identifier of the Amazon DataZone inventory asset.
name: String
The name of the Amazon DataZone inventory asset.
type_identifier: String
The identifier of the asset type of the specified Amazon DataZone inventory asset.
type_revision: String
The revision of the inventory asset type.
external_identifier: Option<String>
The external identifier of the Amazon DataZone inventory asset.
description: Option<String>
The description of an Amazon DataZone inventory asset.
created_at: Option<DateTime>
The timestamp of when the Amazon DataZone inventory asset was created.
created_by: Option<String>
The Amazon DataZone user who created the inventory asset.
first_revision_created_at: Option<DateTime>
The timestamp of when the first revision of the inventory asset was created.
first_revision_created_by: Option<String>
The Amazon DataZone user who created the first revision of the inventory asset.
glossary_terms: Option<Vec<String>>
The glossary terms attached to the Amazon DataZone inventory asset.
owning_project_id: String
The identifier of the Amazon DataZone project that owns the inventory asset.
additional_attributes: Option<AssetItemAdditionalAttributes>
The additional attributes of a Amazon DataZone inventory asset.
Implementations§
source§impl AssetItem
impl AssetItem
sourcepub fn domain_id(&self) -> &str
pub fn domain_id(&self) -> &str
The identifier of the Amazon DataZone domain in which the inventory asset exists.
sourcepub fn identifier(&self) -> &str
pub fn identifier(&self) -> &str
the identifier of the Amazon DataZone inventory asset.
sourcepub fn type_identifier(&self) -> &str
pub fn type_identifier(&self) -> &str
The identifier of the asset type of the specified Amazon DataZone inventory asset.
sourcepub fn type_revision(&self) -> &str
pub fn type_revision(&self) -> &str
The revision of the inventory asset type.
sourcepub fn external_identifier(&self) -> Option<&str>
pub fn external_identifier(&self) -> Option<&str>
The external identifier of the Amazon DataZone inventory asset.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of an Amazon DataZone inventory asset.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when the Amazon DataZone inventory asset was created.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The Amazon DataZone user who created the inventory asset.
sourcepub fn first_revision_created_at(&self) -> Option<&DateTime>
pub fn first_revision_created_at(&self) -> Option<&DateTime>
The timestamp of when the first revision of the inventory asset was created.
sourcepub fn first_revision_created_by(&self) -> Option<&str>
pub fn first_revision_created_by(&self) -> Option<&str>
The Amazon DataZone user who created the first revision of the inventory asset.
sourcepub fn glossary_terms(&self) -> &[String]
pub fn glossary_terms(&self) -> &[String]
The glossary terms attached to the Amazon DataZone inventory asset.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .glossary_terms.is_none()
.
sourcepub fn owning_project_id(&self) -> &str
pub fn owning_project_id(&self) -> &str
The identifier of the Amazon DataZone project that owns the inventory asset.
sourcepub fn additional_attributes(&self) -> Option<&AssetItemAdditionalAttributes>
pub fn additional_attributes(&self) -> Option<&AssetItemAdditionalAttributes>
The additional attributes of a Amazon DataZone inventory asset.
Trait Implementations§
impl StructuralPartialEq for AssetItem
Auto Trait Implementations§
impl Freeze for AssetItem
impl RefUnwindSafe for AssetItem
impl Send for AssetItem
impl Sync for AssetItem
impl Unpin for AssetItem
impl UnwindSafe for AssetItem
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
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>
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 more