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§
Source§impl Clone for AddAttachmentsToSetRequest
impl Clone for AddAttachmentsToSetRequest
Source§fn clone(&self) -> AddAttachmentsToSetRequest
fn clone(&self) -> AddAttachmentsToSetRequest
Returns a duplicate 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 Debug for AddAttachmentsToSetRequest
impl Debug for AddAttachmentsToSetRequest
Source§impl Default for AddAttachmentsToSetRequest
impl Default for AddAttachmentsToSetRequest
Source§fn default() -> AddAttachmentsToSetRequest
fn default() -> AddAttachmentsToSetRequest
Returns the “default value” for a type. Read more
impl StructuralPartialEq for AddAttachmentsToSetRequest
Auto Trait Implementations§
impl Freeze for AddAttachmentsToSetRequest
impl RefUnwindSafe for AddAttachmentsToSetRequest
impl Send for AddAttachmentsToSetRequest
impl Sync for AddAttachmentsToSetRequest
impl Unpin for AddAttachmentsToSetRequest
impl UnwindSafe for AddAttachmentsToSetRequest
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