pub enum MultipartUpload {
File(CreateAttachment),
Attachments(Vec<CreateAttachment>),
}
Variants§
File(CreateAttachment)
A file sent with the form data as an individual upload. For example, a sticker.
Attachments(Vec<CreateAttachment>)
Files sent with the form as message attachments.
Trait Implementations§
Source§impl Clone for MultipartUpload
impl Clone for MultipartUpload
Source§fn clone(&self) -> MultipartUpload
fn clone(&self) -> MultipartUpload
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for MultipartUpload
impl RefUnwindSafe for MultipartUpload
impl Send for MultipartUpload
impl Sync for MultipartUpload
impl Unpin for MultipartUpload
impl UnwindSafe for MultipartUpload
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