#[non_exhaustive]pub struct SlackListsUpdateRequest {
pub id: String,
pub name: Option<String>,
pub description_blocks: Option<Vec<Block>>,
pub todo_mode: Option<bool>,
}Expand description
Arguments for the Slack Web API method slackLists.update: Update a List.
Send it with SlackClient::slack_lists_update.
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.id: StringThe ID of the List to update.
name: Option<String>The updated name of the List.
description_blocks: Option<Vec<Block>>A rich text description of the List.
todo_mode: Option<bool>Boolean indicating whether the List should be in todo mode.
Implementations§
Trait Implementations§
Source§impl Clone for SlackListsUpdateRequest
impl Clone for SlackListsUpdateRequest
Source§impl Debug for SlackListsUpdateRequest
impl Debug for SlackListsUpdateRequest
Source§impl PartialEq for SlackListsUpdateRequest
impl PartialEq for SlackListsUpdateRequest
Source§impl Serialize for SlackListsUpdateRequest
impl Serialize for SlackListsUpdateRequest
impl StructuralPartialEq for SlackListsUpdateRequest
Auto Trait Implementations§
impl Freeze for SlackListsUpdateRequest
impl RefUnwindSafe for SlackListsUpdateRequest
impl Send for SlackListsUpdateRequest
impl Sync for SlackListsUpdateRequest
impl Unpin for SlackListsUpdateRequest
impl UnsafeUnpin for SlackListsUpdateRequest
impl UnwindSafe for SlackListsUpdateRequest
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