#[non_exhaustive]pub struct FilesGetUploadUrlExternalRequest {
pub length: i64,
pub filename: String,
pub snippet_type: Option<String>,
pub alt_txt: Option<String>,
}Expand description
Arguments for the Slack Web API method files.getUploadURLExternal: Gets a URL for an edge external file upload
Send it with SlackClient::files_get_upload_url_external.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.length: i64Size in bytes of the file being uploaded.
filename: StringName of the file being uploaded.
snippet_type: Option<String>Syntax type of the snippet being uploaded.
alt_txt: Option<String>Description of image for screen-reader.
Implementations§
Trait Implementations§
impl StructuralPartialEq for FilesGetUploadUrlExternalRequest
Auto Trait Implementations§
impl Freeze for FilesGetUploadUrlExternalRequest
impl RefUnwindSafe for FilesGetUploadUrlExternalRequest
impl Send for FilesGetUploadUrlExternalRequest
impl Sync for FilesGetUploadUrlExternalRequest
impl Unpin for FilesGetUploadUrlExternalRequest
impl UnsafeUnpin 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