#[non_exhaustive]pub struct BotsInfoRequest {
pub bot: Option<String>,
pub team_id: Option<String>,
}Expand description
Arguments for the Slack Web API method bots.info: Gets information about a bot user.
Send it with SlackClient::bots_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.bot: Option<String>Bot user to get info on
team_id: Option<String>encoded team id or enterprise id where the bot exists, required if org token is used
Implementations§
Trait Implementations§
Source§impl Clone for BotsInfoRequest
impl Clone for BotsInfoRequest
Source§impl Debug for BotsInfoRequest
impl Debug for BotsInfoRequest
Source§impl Default for BotsInfoRequest
impl Default for BotsInfoRequest
Source§impl PartialEq for BotsInfoRequest
impl PartialEq for BotsInfoRequest
Source§impl Serialize for BotsInfoRequest
impl Serialize for BotsInfoRequest
Source§impl SlackApiMethod for BotsInfoRequest
impl SlackApiMethod for BotsInfoRequest
impl StructuralPartialEq for BotsInfoRequest
Auto Trait Implementations§
impl Freeze for BotsInfoRequest
impl RefUnwindSafe for BotsInfoRequest
impl Send for BotsInfoRequest
impl Sync for BotsInfoRequest
impl Unpin for BotsInfoRequest
impl UnsafeUnpin for BotsInfoRequest
impl UnwindSafe for BotsInfoRequest
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