#[non_exhaustive]pub struct UsersSetPresenceRequest {
pub presence: String,
}Expand description
Arguments for the Slack Web API method users.setPresence: Manually sets user presence.
Send it with SlackClient::users_set_presence.
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.presence: StringEither auto or away
Implementations§
Trait Implementations§
Source§impl Clone for UsersSetPresenceRequest
impl Clone for UsersSetPresenceRequest
Source§impl Debug for UsersSetPresenceRequest
impl Debug for UsersSetPresenceRequest
Source§impl PartialEq for UsersSetPresenceRequest
impl PartialEq for UsersSetPresenceRequest
Source§impl Serialize for UsersSetPresenceRequest
impl Serialize for UsersSetPresenceRequest
impl StructuralPartialEq for UsersSetPresenceRequest
Auto Trait Implementations§
impl Freeze for UsersSetPresenceRequest
impl RefUnwindSafe for UsersSetPresenceRequest
impl Send for UsersSetPresenceRequest
impl Sync for UsersSetPresenceRequest
impl Unpin for UsersSetPresenceRequest
impl UnsafeUnpin for UsersSetPresenceRequest
impl UnwindSafe for UsersSetPresenceRequest
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