#[non_exhaustive]pub struct PinsRemoveRequest {
pub channel: String,
pub timestamp: Option<String>,
}Expand description
Arguments for the Slack Web API method pins.remove: Un-pins an item from a channel.
Send it with SlackClient::pins_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: StringChannel where the item is pinned to.
timestamp: Option<String>Timestamp of the message to un-pin.
Implementations§
Trait Implementations§
Source§impl Clone for PinsRemoveRequest
impl Clone for PinsRemoveRequest
Source§impl Debug for PinsRemoveRequest
impl Debug for PinsRemoveRequest
Source§impl PartialEq for PinsRemoveRequest
impl PartialEq for PinsRemoveRequest
Source§impl Serialize for PinsRemoveRequest
impl Serialize for PinsRemoveRequest
Source§impl SlackApiMethod for PinsRemoveRequest
impl SlackApiMethod for PinsRemoveRequest
impl StructuralPartialEq for PinsRemoveRequest
Auto Trait Implementations§
impl Freeze for PinsRemoveRequest
impl RefUnwindSafe for PinsRemoveRequest
impl Send for PinsRemoveRequest
impl Sync for PinsRemoveRequest
impl Unpin for PinsRemoveRequest
impl UnsafeUnpin for PinsRemoveRequest
impl UnwindSafe for PinsRemoveRequest
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