pub struct FilesRemoteAddRequest {
pub external_id: String,
pub external_url: String,
pub title: String,
pub filetype: Option<String>,
pub indexable_file_contents: Option<String>,
pub preview_image: Option<String>,
}Expand description
The type that represents a request of files.remote.add.
Fields§
§external_id: StringCreator defined GUID for the file.
https://api.slack.com/methods/files.remote.add#arg_external_id
external_url: StringURL of the remote file.
https://api.slack.com/methods/files.remote.add#arg_external_url
title: StringTitle of the file being shared.
filetype: Option<String>§indexable_file_contents: Option<String>A text file (txt, pdf, doc, etc.) containing textual search terms that are used to improve discovery of the remote file.
https://api.slack.com/methods/files.remote.add#arg_indexable_file_contents
preview_image: Option<String>Preview of the document via multipart/form-data.
https://api.slack.com/methods/files.remote.add#arg_preview_image
Trait Implementations§
Source§impl Clone for FilesRemoteAddRequest
impl Clone for FilesRemoteAddRequest
Source§fn clone(&self) -> FilesRemoteAddRequest
fn clone(&self) -> FilesRemoteAddRequest
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 FilesRemoteAddRequest
impl Debug for FilesRemoteAddRequest
Auto Trait Implementations§
impl Freeze for FilesRemoteAddRequest
impl RefUnwindSafe for FilesRemoteAddRequest
impl Send for FilesRemoteAddRequest
impl Sync for FilesRemoteAddRequest
impl Unpin for FilesRemoteAddRequest
impl UnwindSafe for FilesRemoteAddRequest
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