#[non_exhaustive]pub struct DndTeamInfoRequest {
pub users: String,
pub team_id: Option<String>,
}Expand description
Arguments for the Slack Web API method dnd.teamInfo: Retrieves the Do Not Disturb status for up to 50 users on a team.
Send it with SlackClient::dnd_team_info.
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.users: StringComma-separated list of users to fetch Do Not Disturb status for
team_id: Option<String>Encoded team id where passed in users belong, required if org token is used
Implementations§
Trait Implementations§
Source§impl Clone for DndTeamInfoRequest
impl Clone for DndTeamInfoRequest
Source§impl Debug for DndTeamInfoRequest
impl Debug for DndTeamInfoRequest
Source§impl PartialEq for DndTeamInfoRequest
impl PartialEq for DndTeamInfoRequest
Source§impl Serialize for DndTeamInfoRequest
impl Serialize for DndTeamInfoRequest
Source§impl SlackApiMethod for DndTeamInfoRequest
impl SlackApiMethod for DndTeamInfoRequest
impl StructuralPartialEq for DndTeamInfoRequest
Auto Trait Implementations§
impl Freeze for DndTeamInfoRequest
impl RefUnwindSafe for DndTeamInfoRequest
impl Send for DndTeamInfoRequest
impl Sync for DndTeamInfoRequest
impl Unpin for DndTeamInfoRequest
impl UnsafeUnpin for DndTeamInfoRequest
impl UnwindSafe for DndTeamInfoRequest
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