#[non_exhaustive]pub struct GetAssetOutput {
pub id: String,
pub name: Option<String>,
pub description: Option<String>,
pub created_at: Option<DateTime>,
pub updated_at: Option<DateTime>,
pub asset_type_id: String,
pub glossary_terms: Option<Vec<String>>,
pub forms: Option<HashMap<String, AssetFormEntry>>,
pub attachments: Option<HashMap<String, AssetFormEntry>>,
pub iterable_forms: Option<HashMap<String, IterableFormEntry>>,
/* private fields */
}Expand description
The asset metadata returned by the GetAsset operation.
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.id: StringThe unique identifier of the asset.
name: Option<String>The name of the asset.
description: Option<String>The description of the asset.
created_at: Option<DateTime>The timestamp at which the asset was created.
updated_at: Option<DateTime>The timestamp at which the asset was last updated.
asset_type_id: StringThe identifier of the asset type for this asset.
glossary_terms: Option<Vec<String>>The identifiers of the glossary terms associated with the asset.
forms: Option<HashMap<String, AssetFormEntry>>The forms on the asset, keyed by form name.
attachments: Option<HashMap<String, AssetFormEntry>>Additional attachments on the asset for more context, keyed by attachment name.
iterable_forms: Option<HashMap<String, IterableFormEntry>>The iterable forms available on the asset, keyed by form name (for example, columns). Use the form name with ListIterableForms or BatchGetIterableForms to retrieve the form's items.
Implementations§
Source§impl GetAssetOutput
impl GetAssetOutput
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the asset.
Sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp at which the asset was created.
Sourcepub fn updated_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
The timestamp at which the asset was last updated.
Sourcepub fn asset_type_id(&self) -> &str
pub fn asset_type_id(&self) -> &str
The identifier of the asset type for this asset.
Sourcepub fn glossary_terms(&self) -> &[String]
pub fn glossary_terms(&self) -> &[String]
The identifiers of the glossary terms associated with the 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 forms(&self) -> Option<&HashMap<String, AssetFormEntry>>
pub fn forms(&self) -> Option<&HashMap<String, AssetFormEntry>>
The forms on the asset, keyed by form name.
Sourcepub fn attachments(&self) -> Option<&HashMap<String, AssetFormEntry>>
pub fn attachments(&self) -> Option<&HashMap<String, AssetFormEntry>>
Additional attachments on the asset for more context, keyed by attachment name.
Sourcepub fn iterable_forms(&self) -> Option<&HashMap<String, IterableFormEntry>>
pub fn iterable_forms(&self) -> Option<&HashMap<String, IterableFormEntry>>
The iterable forms available on the asset, keyed by form name (for example, columns). Use the form name with ListIterableForms or BatchGetIterableForms to retrieve the form's items.
Source§impl GetAssetOutput
impl GetAssetOutput
Sourcepub fn builder() -> GetAssetOutputBuilder
pub fn builder() -> GetAssetOutputBuilder
Creates a new builder-style object to manufacture GetAssetOutput.
Trait Implementations§
Source§impl Clone for GetAssetOutput
impl Clone for GetAssetOutput
Source§fn clone(&self) -> GetAssetOutput
fn clone(&self) -> GetAssetOutput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GetAssetOutput
impl Debug for GetAssetOutput
Source§impl PartialEq for GetAssetOutput
impl PartialEq for GetAssetOutput
Source§impl RequestId for GetAssetOutput
impl RequestId for GetAssetOutput
Source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetAssetOutput
Auto Trait Implementations§
impl Freeze for GetAssetOutput
impl RefUnwindSafe for GetAssetOutput
impl Send for GetAssetOutput
impl Sync for GetAssetOutput
impl Unpin for GetAssetOutput
impl UnsafeUnpin for GetAssetOutput
impl UnwindSafe for GetAssetOutput
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§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