pub struct FilesGetUploadUrlExternalRequest {
pub filename: String,
pub length: usize,
pub alt_txt: Option<String>,
pub snippet_type: Option<String>,
}Expand description
The type that represents a request of files.getUploadURLExternal.
Fields§
§filename: StringName of the file being uploaded.
https://api.slack.com/methods/files.getUploadURLExternal#arg_filename
length: usizeSize in bytes of the file being uploaded.
https://api.slack.com/methods/files.getUploadURLExternal#arg_length
alt_txt: Option<String>Description of image for screen-reader.
https://api.slack.com/methods/files.getUploadURLExternal#arg_alt_txt
snippet_type: Option<String>Syntax type of the snippet being uploaded.
https://api.slack.com/methods/files.getUploadURLExternal#arg_snippet_type
Trait Implementations§
Source§impl Clone for FilesGetUploadUrlExternalRequest
impl Clone for FilesGetUploadUrlExternalRequest
Source§fn clone(&self) -> FilesGetUploadUrlExternalRequest
fn clone(&self) -> FilesGetUploadUrlExternalRequest
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 moreAuto Trait Implementations§
impl Freeze for FilesGetUploadUrlExternalRequest
impl RefUnwindSafe for FilesGetUploadUrlExternalRequest
impl Send for FilesGetUploadUrlExternalRequest
impl Sync for FilesGetUploadUrlExternalRequest
impl Unpin for FilesGetUploadUrlExternalRequest
impl UnwindSafe for FilesGetUploadUrlExternalRequest
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