#[non_exhaustive]pub struct GetDataProductOutput {Show 14 fields
pub domain_id: String,
pub id: String,
pub revision: String,
pub owning_project_id: String,
pub name: String,
pub status: DataProductStatus,
pub description: Option<String>,
pub glossary_terms: Option<Vec<String>>,
pub items: Option<Vec<DataProductItem>>,
pub forms_output: Option<Vec<FormOutput>>,
pub created_at: Option<DateTime>,
pub created_by: Option<String>,
pub first_revision_created_at: Option<DateTime>,
pub first_revision_created_by: Option<String>,
/* private fields */
}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: StringThe ID of the domain where the data product lives.
id: StringThe ID of the data product.
revision: StringThe revision of the data product.
owning_project_id: StringThe ID of the owning project of the data product.
name: StringThe name of the data product.
status: DataProductStatusThe status of the data product.
description: Option<String>The description of the data product.
glossary_terms: Option<Vec<String>>The glossary terms of the data product.
items: Option<Vec<DataProductItem>>The data assets of the data product.
forms_output: Option<Vec<FormOutput>>The metadata forms of the data product.
created_at: Option<DateTime>The timestamp at which the data product is created.
created_by: Option<String>The user who created the data product.
first_revision_created_at: Option<DateTime>The timestamp at which the first revision of the data product is created.
first_revision_created_by: Option<String>The user who created the first revision of the data product.
Implementations§
source§impl GetDataProductOutput
impl GetDataProductOutput
sourcepub fn owning_project_id(&self) -> &str
pub fn owning_project_id(&self) -> &str
The ID of the owning project of the data product.
sourcepub fn status(&self) -> &DataProductStatus
pub fn status(&self) -> &DataProductStatus
The status of the data product.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the data product.
sourcepub fn glossary_terms(&self) -> &[String]
pub fn glossary_terms(&self) -> &[String]
The glossary terms of the data product.
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 items(&self) -> &[DataProductItem]
pub fn items(&self) -> &[DataProductItem]
The data assets of the data product.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .items.is_none().
sourcepub fn forms_output(&self) -> &[FormOutput]
pub fn forms_output(&self) -> &[FormOutput]
The metadata forms of the data product.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .forms_output.is_none().
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The timestamp at which the data product is created.
sourcepub fn created_by(&self) -> Option<&str>
pub fn created_by(&self) -> Option<&str>
The user who created the data product.
sourcepub fn first_revision_created_at(&self) -> Option<&DateTime>
pub fn first_revision_created_at(&self) -> Option<&DateTime>
The timestamp at which the first revision of the data product is created.
sourcepub fn first_revision_created_by(&self) -> Option<&str>
pub fn first_revision_created_by(&self) -> Option<&str>
The user who created the first revision of the data product.
source§impl GetDataProductOutput
impl GetDataProductOutput
sourcepub fn builder() -> GetDataProductOutputBuilder
pub fn builder() -> GetDataProductOutputBuilder
Creates a new builder-style object to manufacture GetDataProductOutput.
Trait Implementations§
source§impl Clone for GetDataProductOutput
impl Clone for GetDataProductOutput
source§fn clone(&self) -> GetDataProductOutput
fn clone(&self) -> GetDataProductOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GetDataProductOutput
impl Debug for GetDataProductOutput
source§impl PartialEq for GetDataProductOutput
impl PartialEq for GetDataProductOutput
source§impl RequestId for GetDataProductOutput
impl RequestId for GetDataProductOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None if the service could not be reached.impl StructuralPartialEq for GetDataProductOutput
Auto Trait Implementations§
impl Freeze for GetDataProductOutput
impl RefUnwindSafe for GetDataProductOutput
impl Send for GetDataProductOutput
impl Sync for GetDataProductOutput
impl Unpin for GetDataProductOutput
impl UnwindSafe for GetDataProductOutput
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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