#[non_exhaustive]pub struct BookmarksRemoveRequest {
pub channel_id: Option<String>,
pub bookmark_id: Option<String>,
pub quip_section_id: Option<String>,
}Expand description
Arguments for the Slack Web API method bookmarks.remove: Remove bookmark from the channel.
Send it with SlackClient::bookmarks_remove.
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.channel_id: Option<String>Channel to remove bookmark. Required for public channels.
bookmark_id: Option<String>Bookmark to remove. Required for public channels.
quip_section_id: Option<String>Quip section ID to unbookmark
Implementations§
Source§impl BookmarksRemoveRequest
impl BookmarksRemoveRequest
pub fn new() -> Self
pub fn channel_id(self, channel_id: impl Into<String>) -> Self
pub fn bookmark_id(self, bookmark_id: impl Into<String>) -> Self
pub fn quip_section_id(self, quip_section_id: impl Into<String>) -> Self
Trait Implementations§
Source§impl Clone for BookmarksRemoveRequest
impl Clone for BookmarksRemoveRequest
Source§impl Debug for BookmarksRemoveRequest
impl Debug for BookmarksRemoveRequest
Source§impl Default for BookmarksRemoveRequest
impl Default for BookmarksRemoveRequest
Source§impl PartialEq for BookmarksRemoveRequest
impl PartialEq for BookmarksRemoveRequest
Source§impl Serialize for BookmarksRemoveRequest
impl Serialize for BookmarksRemoveRequest
impl StructuralPartialEq for BookmarksRemoveRequest
Auto Trait Implementations§
impl Freeze for BookmarksRemoveRequest
impl RefUnwindSafe for BookmarksRemoveRequest
impl Send for BookmarksRemoveRequest
impl Sync for BookmarksRemoveRequest
impl Unpin for BookmarksRemoveRequest
impl UnsafeUnpin for BookmarksRemoveRequest
impl UnwindSafe for BookmarksRemoveRequest
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