#[non_exhaustive]pub struct SlackListsDownloadStartRequest {
pub list_id: String,
pub include_archived: Option<bool>,
pub format: Option<String>,
pub include_threads: Option<bool>,
pub include_attachments: Option<bool>,
}Expand description
Arguments for the Slack Web API method slackLists.download.start: Initiate a job to export List contents.
Send it with SlackClient::slack_lists_download_start.
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.list_id: StringID of the List to export.
include_archived: Option<bool>§format: Option<String>Format of the export. Defaults to csv for backward compatibility. Use json for a complete, hierarchical export.
include_threads: Option<bool>Include each item’s conversation thread in the export. Only applies when format is json.
include_attachments: Option<bool>Include file attachment metadata and access paths in the export. Only applies when format is json.
Implementations§
Source§impl SlackListsDownloadStartRequest
impl SlackListsDownloadStartRequest
pub fn new(list_id: impl Into<String>) -> Self
pub fn include_archived(self, include_archived: bool) -> Self
pub fn format(self, format: impl Into<String>) -> Self
pub fn include_threads(self, include_threads: bool) -> Self
pub fn include_attachments(self, include_attachments: bool) -> Self
Trait Implementations§
impl StructuralPartialEq for SlackListsDownloadStartRequest
Auto Trait Implementations§
impl Freeze for SlackListsDownloadStartRequest
impl RefUnwindSafe for SlackListsDownloadStartRequest
impl Send for SlackListsDownloadStartRequest
impl Sync for SlackListsDownloadStartRequest
impl Unpin for SlackListsDownloadStartRequest
impl UnsafeUnpin for SlackListsDownloadStartRequest
impl UnwindSafe for SlackListsDownloadStartRequest
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