#[non_exhaustive]pub struct PutAttachmentInput {
pub asset_identifier: Option<String>,
pub iterable_form_name: Option<String>,
pub item_identifier: Option<String>,
pub attachment_name: Option<String>,
pub content: Option<String>,
pub form_type_id: Option<String>,
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_identifier: Option<String>The unique identifier of the asset to attach the form to.
iterable_form_name: Option<String>The name of the iterable form. When specified along with itemIdentifier, the attachment targets an item within the iterable form rather than the asset itself.
item_identifier: Option<String>The identifier of the item within the iterable form. Required when iterableFormName is specified.
attachment_name: Option<String>The name of the attachment.
content: Option<String>The JSON content of the form, conforming to the schema of the specified form type.
form_type_id: Option<String>The identifier of the form type for this attachment.
client_token: Option<String>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
Implementations§
Source§impl PutAttachmentInput
impl PutAttachmentInput
Sourcepub fn asset_identifier(&self) -> Option<&str>
pub fn asset_identifier(&self) -> Option<&str>
The unique identifier of the asset to attach the form to.
Sourcepub fn iterable_form_name(&self) -> Option<&str>
pub fn iterable_form_name(&self) -> Option<&str>
The name of the iterable form. When specified along with itemIdentifier, the attachment targets an item within the iterable form rather than the asset itself.
Sourcepub fn item_identifier(&self) -> Option<&str>
pub fn item_identifier(&self) -> Option<&str>
The identifier of the item within the iterable form. Required when iterableFormName is specified.
Sourcepub fn attachment_name(&self) -> Option<&str>
pub fn attachment_name(&self) -> Option<&str>
The name of the attachment.
Sourcepub fn content(&self) -> Option<&str>
pub fn content(&self) -> Option<&str>
The JSON content of the form, conforming to the schema of the specified form type.
Sourcepub fn form_type_id(&self) -> Option<&str>
pub fn form_type_id(&self) -> Option<&str>
The identifier of the form type for this attachment.
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 PutAttachmentInput
impl PutAttachmentInput
Sourcepub fn builder() -> PutAttachmentInputBuilder
pub fn builder() -> PutAttachmentInputBuilder
Creates a new builder-style object to manufacture PutAttachmentInput.
Trait Implementations§
Source§impl Clone for PutAttachmentInput
impl Clone for PutAttachmentInput
Source§fn clone(&self) -> PutAttachmentInput
fn clone(&self) -> PutAttachmentInput
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 PutAttachmentInput
impl Debug for PutAttachmentInput
Source§impl PartialEq for PutAttachmentInput
impl PartialEq for PutAttachmentInput
impl StructuralPartialEq for PutAttachmentInput
Auto Trait Implementations§
impl Freeze for PutAttachmentInput
impl RefUnwindSafe for PutAttachmentInput
impl Send for PutAttachmentInput
impl Sync for PutAttachmentInput
impl Unpin for PutAttachmentInput
impl UnsafeUnpin for PutAttachmentInput
impl UnwindSafe for PutAttachmentInput
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