#[non_exhaustive]pub struct AssetItemAdditionalAttributesBuilder { /* private fields */ }Expand description
A builder for AssetItemAdditionalAttributes.
Implementations§
source§impl AssetItemAdditionalAttributesBuilder
impl AssetItemAdditionalAttributesBuilder
sourcepub fn forms_output(self, input: FormOutput) -> Self
pub fn forms_output(self, input: FormOutput) -> Self
Appends an item to forms_output.
To override the contents of this collection use set_forms_output.
The forms included in the additional attributes of an inventory asset.
sourcepub fn set_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
pub fn set_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
The forms included in the additional attributes of an inventory asset.
sourcepub fn get_forms_output(&self) -> &Option<Vec<FormOutput>>
pub fn get_forms_output(&self) -> &Option<Vec<FormOutput>>
The forms included in the additional attributes of an inventory asset.
sourcepub fn read_only_forms_output(self, input: FormOutput) -> Self
pub fn read_only_forms_output(self, input: FormOutput) -> Self
Appends an item to read_only_forms_output.
To override the contents of this collection use set_read_only_forms_output.
The read-only forms included in the additional attributes of an inventory asset.
sourcepub fn set_read_only_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
pub fn set_read_only_forms_output(self, input: Option<Vec<FormOutput>>) -> Self
The read-only forms included in the additional attributes of an inventory asset.
sourcepub fn get_read_only_forms_output(&self) -> &Option<Vec<FormOutput>>
pub fn get_read_only_forms_output(&self) -> &Option<Vec<FormOutput>>
The read-only forms included in the additional attributes of an inventory asset.
sourcepub fn latest_time_series_data_point_forms_output(
self,
input: TimeSeriesDataPointSummaryFormOutput,
) -> Self
pub fn latest_time_series_data_point_forms_output( self, input: TimeSeriesDataPointSummaryFormOutput, ) -> Self
Appends an item to latest_time_series_data_point_forms_output.
To override the contents of this collection use set_latest_time_series_data_point_forms_output.
The latest time series data points forms included in the additional attributes of an asset.
sourcepub fn set_latest_time_series_data_point_forms_output(
self,
input: Option<Vec<TimeSeriesDataPointSummaryFormOutput>>,
) -> Self
pub fn set_latest_time_series_data_point_forms_output( self, input: Option<Vec<TimeSeriesDataPointSummaryFormOutput>>, ) -> Self
The latest time series data points forms included in the additional attributes of an asset.
sourcepub fn get_latest_time_series_data_point_forms_output(
&self,
) -> &Option<Vec<TimeSeriesDataPointSummaryFormOutput>>
pub fn get_latest_time_series_data_point_forms_output( &self, ) -> &Option<Vec<TimeSeriesDataPointSummaryFormOutput>>
The latest time series data points forms included in the additional attributes of an asset.
sourcepub fn build(self) -> AssetItemAdditionalAttributes
pub fn build(self) -> AssetItemAdditionalAttributes
Consumes the builder and constructs a AssetItemAdditionalAttributes.
Trait Implementations§
source§impl Clone for AssetItemAdditionalAttributesBuilder
impl Clone for AssetItemAdditionalAttributesBuilder
source§fn clone(&self) -> AssetItemAdditionalAttributesBuilder
fn clone(&self) -> AssetItemAdditionalAttributesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AssetItemAdditionalAttributesBuilder
impl Default for AssetItemAdditionalAttributesBuilder
source§fn default() -> AssetItemAdditionalAttributesBuilder
fn default() -> AssetItemAdditionalAttributesBuilder
source§impl PartialEq for AssetItemAdditionalAttributesBuilder
impl PartialEq for AssetItemAdditionalAttributesBuilder
source§fn eq(&self, other: &AssetItemAdditionalAttributesBuilder) -> bool
fn eq(&self, other: &AssetItemAdditionalAttributesBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AssetItemAdditionalAttributesBuilder
Auto Trait Implementations§
impl Freeze for AssetItemAdditionalAttributesBuilder
impl RefUnwindSafe for AssetItemAdditionalAttributesBuilder
impl Send for AssetItemAdditionalAttributesBuilder
impl Sync for AssetItemAdditionalAttributesBuilder
impl Unpin for AssetItemAdditionalAttributesBuilder
impl UnwindSafe for AssetItemAdditionalAttributesBuilder
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