pub struct AddAttachmentsToSetRequest {
pub attachment_set_id: Option<String>,
pub attachments: Vec<Attachment>,
}
Fields
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: 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
.
Trait Implementations
sourceimpl Clone for AddAttachmentsToSetRequest
impl Clone for AddAttachmentsToSetRequest
sourcefn clone(&self) -> AddAttachmentsToSetRequest
fn clone(&self) -> AddAttachmentsToSetRequest
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 AddAttachmentsToSetRequest
impl Debug for AddAttachmentsToSetRequest
sourceimpl Default for AddAttachmentsToSetRequest
impl Default for AddAttachmentsToSetRequest
sourcefn default() -> AddAttachmentsToSetRequest
fn default() -> AddAttachmentsToSetRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<AddAttachmentsToSetRequest> for AddAttachmentsToSetRequest
impl PartialEq<AddAttachmentsToSetRequest> for AddAttachmentsToSetRequest
sourcefn eq(&self, other: &AddAttachmentsToSetRequest) -> bool
fn eq(&self, other: &AddAttachmentsToSetRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &AddAttachmentsToSetRequest) -> bool
fn ne(&self, other: &AddAttachmentsToSetRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for AddAttachmentsToSetRequest
Auto Trait Implementations
impl RefUnwindSafe for AddAttachmentsToSetRequest
impl Send for AddAttachmentsToSetRequest
impl Sync for AddAttachmentsToSetRequest
impl Unpin for AddAttachmentsToSetRequest
impl UnwindSafe for AddAttachmentsToSetRequest
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> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
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