#[non_exhaustive]pub struct AssetItemAdditionalAttributes {
pub forms_output: Option<Vec<FormOutput>>,
pub read_only_forms_output: Option<Vec<FormOutput>>,
pub latest_time_series_data_point_forms_output: Option<Vec<TimeSeriesDataPointSummaryFormOutput>>,
}
Expand description
The additional attributes of an 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.forms_output: Option<Vec<FormOutput>>
The forms included in the additional attributes of an inventory asset.
read_only_forms_output: Option<Vec<FormOutput>>
The read-only forms included in the additional attributes of an inventory asset.
latest_time_series_data_point_forms_output: Option<Vec<TimeSeriesDataPointSummaryFormOutput>>
The latest time series data points forms included in the additional attributes of an asset.
Implementations§
source§impl AssetItemAdditionalAttributes
impl AssetItemAdditionalAttributes
sourcepub fn forms_output(&self) -> &[FormOutput]
pub fn forms_output(&self) -> &[FormOutput]
The forms included in the additional attributes of an 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 .forms_output.is_none()
.
sourcepub fn read_only_forms_output(&self) -> &[FormOutput]
pub fn read_only_forms_output(&self) -> &[FormOutput]
The read-only forms included in the additional attributes of an 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 .read_only_forms_output.is_none()
.
sourcepub fn latest_time_series_data_point_forms_output(
&self,
) -> &[TimeSeriesDataPointSummaryFormOutput]
pub fn latest_time_series_data_point_forms_output( &self, ) -> &[TimeSeriesDataPointSummaryFormOutput]
The latest time series data points forms included in the additional attributes of an 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 .latest_time_series_data_point_forms_output.is_none()
.
source§impl AssetItemAdditionalAttributes
impl AssetItemAdditionalAttributes
sourcepub fn builder() -> AssetItemAdditionalAttributesBuilder
pub fn builder() -> AssetItemAdditionalAttributesBuilder
Creates a new builder-style object to manufacture AssetItemAdditionalAttributes
.
Trait Implementations§
source§impl Clone for AssetItemAdditionalAttributes
impl Clone for AssetItemAdditionalAttributes
source§fn clone(&self) -> AssetItemAdditionalAttributes
fn clone(&self) -> AssetItemAdditionalAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AssetItemAdditionalAttributes
impl PartialEq for AssetItemAdditionalAttributes
source§fn eq(&self, other: &AssetItemAdditionalAttributes) -> bool
fn eq(&self, other: &AssetItemAdditionalAttributes) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for AssetItemAdditionalAttributes
Auto Trait Implementations§
impl Freeze for AssetItemAdditionalAttributes
impl RefUnwindSafe for AssetItemAdditionalAttributes
impl Send for AssetItemAdditionalAttributes
impl Sync for AssetItemAdditionalAttributes
impl Unpin for AssetItemAdditionalAttributes
impl UnwindSafe for AssetItemAdditionalAttributes
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