#[non_exhaustive]pub struct CreateDataProductOutput {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: String
The ID of the domain where the data product lives.
id: String
The ID of the data product.
revision: String
The revision of the data product.
owning_project_id: String
The ID of the owning project of the data product.
name: String
The name of the data product.
status: DataProductStatus
The 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 was 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 was created.
first_revision_created_by: Option<String>
The user who created the first revision of the data product.
Implementations§
source§impl CreateDataProductOutput
impl CreateDataProductOutput
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 was 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 was 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 CreateDataProductOutput
impl CreateDataProductOutput
sourcepub fn builder() -> CreateDataProductOutputBuilder
pub fn builder() -> CreateDataProductOutputBuilder
Creates a new builder-style object to manufacture CreateDataProductOutput
.
Trait Implementations§
source§impl Clone for CreateDataProductOutput
impl Clone for CreateDataProductOutput
source§fn clone(&self) -> CreateDataProductOutput
fn clone(&self) -> CreateDataProductOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDataProductOutput
impl Debug for CreateDataProductOutput
source§impl PartialEq for CreateDataProductOutput
impl PartialEq for CreateDataProductOutput
source§impl RequestId for CreateDataProductOutput
impl RequestId for CreateDataProductOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.impl StructuralPartialEq for CreateDataProductOutput
Auto Trait Implementations§
impl Freeze for CreateDataProductOutput
impl RefUnwindSafe for CreateDataProductOutput
impl Send for CreateDataProductOutput
impl Sync for CreateDataProductOutput
impl Unpin for CreateDataProductOutput
impl UnwindSafe for CreateDataProductOutput
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