#[non_exhaustive]pub struct PutAssetInput {
pub asset_type_id: Option<String>,
pub identifier: Option<String>,
pub name: Option<String>,
pub description: Option<String>,
pub forms: Option<HashMap<String, AssetFormEntry>>,
pub client_token: Option<String>,
}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.asset_type_id: Option<String>The identifier of the asset type for the asset.
identifier: Option<String>The unique identifier of the asset. If an asset with this identifier already exists, it is updated.
name: Option<String>The name of the asset.
description: Option<String>The description of the asset.
forms: Option<HashMap<String, AssetFormEntry>>The forms to set on the asset, keyed by form name. Each entry specifies the form type and its JSON content.
client_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Implementations§
Source§impl PutAssetInput
impl PutAssetInput
Sourcepub fn asset_type_id(&self) -> Option<&str>
pub fn asset_type_id(&self) -> Option<&str>
The identifier of the asset type for the asset.
Sourcepub fn identifier(&self) -> Option<&str>
pub fn identifier(&self) -> Option<&str>
The unique identifier of the asset. If an asset with this identifier already exists, it is updated.
Sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the asset.
Sourcepub fn forms(&self) -> Option<&HashMap<String, AssetFormEntry>>
pub fn forms(&self) -> Option<&HashMap<String, AssetFormEntry>>
The forms to set on the asset, keyed by form name. Each entry specifies the form type and its JSON content.
Sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Source§impl PutAssetInput
impl PutAssetInput
Sourcepub fn builder() -> PutAssetInputBuilder
pub fn builder() -> PutAssetInputBuilder
Creates a new builder-style object to manufacture PutAssetInput.
Trait Implementations§
Source§impl Clone for PutAssetInput
impl Clone for PutAssetInput
Source§fn clone(&self) -> PutAssetInput
fn clone(&self) -> PutAssetInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for PutAssetInput
impl Debug for PutAssetInput
Source§impl PartialEq for PutAssetInput
impl PartialEq for PutAssetInput
impl StructuralPartialEq for PutAssetInput
Auto Trait Implementations§
impl Freeze for PutAssetInput
impl RefUnwindSafe for PutAssetInput
impl Send for PutAssetInput
impl Sync for PutAssetInput
impl Unpin for PutAssetInput
impl UnsafeUnpin for PutAssetInput
impl UnwindSafe for PutAssetInput
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§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