Struct aws_sdk_datazone::types::AssetRevision
source · #[non_exhaustive]pub struct AssetRevision {
pub domain_id: Option<String>,
pub id: Option<String>,
pub revision: Option<String>,
pub created_by: Option<String>,
pub created_at: Option<DateTime>,
}
Expand description
The revision of an inventory asset.
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_id: Option<String>
The Amazon DataZone user who created the inventory asset.
id: Option<String>
The identifier of the inventory asset revision.
revision: Option<String>
The revision details of the inventory asset.
created_by: Option<String>
The Amazon DataZone user who created the asset revision.
created_at: Option<DateTime>
The timestamp of when an inventory asset revison was created.
Implementations§
source§impl AssetRevision
impl AssetRevision
sourcepub fn domain_id(&self) -> Option<&str>
pub fn domain_id(&self) -> Option<&str>
The Amazon DataZone user who created the inventory asset.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The Amazon DataZone user who created the asset revision.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp of when an inventory asset revison was created.
source§impl AssetRevision
impl AssetRevision
sourcepub fn builder() -> AssetRevisionBuilder
pub fn builder() -> AssetRevisionBuilder
Creates a new builder-style object to manufacture AssetRevision
.
Trait Implementations§
source§impl Clone for AssetRevision
impl Clone for AssetRevision
source§fn clone(&self) -> AssetRevision
fn clone(&self) -> AssetRevision
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 AssetRevision
impl Debug for AssetRevision
source§impl PartialEq for AssetRevision
impl PartialEq for AssetRevision
source§fn eq(&self, other: &AssetRevision) -> bool
fn eq(&self, other: &AssetRevision) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssetRevision
Auto Trait Implementations§
impl Freeze for AssetRevision
impl RefUnwindSafe for AssetRevision
impl Send for AssetRevision
impl Sync for AssetRevision
impl Unpin for AssetRevision
impl UnwindSafe for AssetRevision
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.