#[non_exhaustive]pub struct AssetItemAdditionalAttributes {
pub forms_output: Option<Vec<FormOutput>>,
pub read_only_forms_output: Option<Vec<FormOutput>>,
}Expand description
The additional attributes of an inventory asset.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
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().
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq for AssetItemAdditionalAttributes
impl PartialEq for AssetItemAdditionalAttributes
source§fn eq(&self, other: &AssetItemAdditionalAttributes) -> bool
fn eq(&self, other: &AssetItemAdditionalAttributes) -> bool
This method tests for
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.