Struct aws_sdk_support::input::AddAttachmentsToSetInput
source · [−]#[non_exhaustive]pub struct AddAttachmentsToSetInput {
pub attachment_set_id: Option<String>,
pub attachments: Option<Vec<Attachment>>,
}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.attachment_set_id: Option<String>The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.
attachments: Option<Vec<Attachment>>One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment object, use the data parameter to specify the contents of the attachment file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.
Implementations
sourceimpl AddAttachmentsToSetInput
impl AddAttachmentsToSetInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddAttachmentsToSet, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<AddAttachmentsToSet, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<AddAttachmentsToSet>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AddAttachmentsToSetInput
sourceimpl AddAttachmentsToSetInput
impl AddAttachmentsToSetInput
sourcepub fn attachment_set_id(&self) -> Option<&str>
pub fn attachment_set_id(&self) -> Option<&str>
The ID of the attachment set. If an attachmentSetId is not specified, a new attachment set is created, and the ID of the set is returned in the response. If an attachmentSetId is specified, the attachments are added to the specified set, if it exists.
sourcepub fn attachments(&self) -> Option<&[Attachment]>
pub fn attachments(&self) -> Option<&[Attachment]>
One or more attachments to add to the set. You can add up to three attachments per set. The size limit is 5 MB per attachment.
In the Attachment object, use the data parameter to specify the contents of the attachment file. In the previous request syntax, the value for data appear as blob, which is represented as a base64-encoded string. The value for fileName is the name of the attachment, such as troubleshoot-screenshot.png.
Trait Implementations
sourceimpl Clone for AddAttachmentsToSetInput
impl Clone for AddAttachmentsToSetInput
sourcefn clone(&self) -> AddAttachmentsToSetInput
fn clone(&self) -> AddAttachmentsToSetInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AddAttachmentsToSetInput
impl Debug for AddAttachmentsToSetInput
sourceimpl PartialEq<AddAttachmentsToSetInput> for AddAttachmentsToSetInput
impl PartialEq<AddAttachmentsToSetInput> for AddAttachmentsToSetInput
sourcefn eq(&self, other: &AddAttachmentsToSetInput) -> bool
fn eq(&self, other: &AddAttachmentsToSetInput) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &AddAttachmentsToSetInput) -> bool
fn ne(&self, other: &AddAttachmentsToSetInput) -> bool
This method tests for !=.
impl StructuralPartialEq for AddAttachmentsToSetInput
Auto Trait Implementations
impl RefUnwindSafe for AddAttachmentsToSetInput
impl Send for AddAttachmentsToSetInput
impl Sync for AddAttachmentsToSetInput
impl Unpin for AddAttachmentsToSetInput
impl UnwindSafe for AddAttachmentsToSetInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more