#[non_exhaustive]pub struct DndSetSnoozeRequest {
pub num_minutes: String,
}Expand description
Arguments for the Slack Web API method dnd.setSnooze: Turns on Do Not Disturb mode for the current user, or changes its duration.
Send it with SlackClient::dnd_set_snooze.
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.num_minutes: StringThis argument is required. Number of minutes, from now, to snooze until.
Implementations§
Trait Implementations§
Source§impl Clone for DndSetSnoozeRequest
impl Clone for DndSetSnoozeRequest
Source§impl Debug for DndSetSnoozeRequest
impl Debug for DndSetSnoozeRequest
Source§impl PartialEq for DndSetSnoozeRequest
impl PartialEq for DndSetSnoozeRequest
Source§impl Serialize for DndSetSnoozeRequest
impl Serialize for DndSetSnoozeRequest
Source§impl SlackApiMethod for DndSetSnoozeRequest
impl SlackApiMethod for DndSetSnoozeRequest
impl StructuralPartialEq for DndSetSnoozeRequest
Auto Trait Implementations§
impl Freeze for DndSetSnoozeRequest
impl RefUnwindSafe for DndSetSnoozeRequest
impl Send for DndSetSnoozeRequest
impl Sync for DndSetSnoozeRequest
impl Unpin for DndSetSnoozeRequest
impl UnsafeUnpin for DndSetSnoozeRequest
impl UnwindSafe for DndSetSnoozeRequest
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