pub struct SlackApiBotsInfoResponse {
pub bot: SlackBotInfo,
}Fields§
§bot: SlackBotInfoImplementations§
Source§impl SlackApiBotsInfoResponse
impl SlackApiBotsInfoResponse
Sourcepub fn new(bot: SlackBotInfo) -> Self
pub fn new(bot: SlackBotInfo) -> Self
Creates a new SlackApiBotsInfoResponse from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn bot(&mut self, value: SlackBotInfo) -> &mut Self
pub fn bot(&mut self, value: SlackBotInfo) -> &mut Self
Sets bot to value.
Sourcepub fn with_bot(self, value: SlackBotInfo) -> Self
pub fn with_bot(self, value: SlackBotInfo) -> Self
Returns self with bot set to value.
Trait Implementations§
Source§impl Clone for SlackApiBotsInfoResponse
impl Clone for SlackApiBotsInfoResponse
Source§impl Debug for SlackApiBotsInfoResponse
impl Debug for SlackApiBotsInfoResponse
Source§impl<'de> Deserialize<'de> for SlackApiBotsInfoResponse
impl<'de> Deserialize<'de> for SlackApiBotsInfoResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SlackApiBotsInfoResponseInit> for SlackApiBotsInfoResponse
impl From<SlackApiBotsInfoResponseInit> for SlackApiBotsInfoResponse
Source§fn from(value: SlackApiBotsInfoResponseInit) -> Self
fn from(value: SlackApiBotsInfoResponseInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiBotsInfoResponse
impl PartialEq for SlackApiBotsInfoResponse
Source§impl Serialize for SlackApiBotsInfoResponse
impl Serialize for SlackApiBotsInfoResponse
impl StructuralPartialEq for SlackApiBotsInfoResponse
Auto Trait Implementations§
impl Freeze for SlackApiBotsInfoResponse
impl RefUnwindSafe for SlackApiBotsInfoResponse
impl Send for SlackApiBotsInfoResponse
impl Sync for SlackApiBotsInfoResponse
impl Unpin for SlackApiBotsInfoResponse
impl UnsafeUnpin for SlackApiBotsInfoResponse
impl UnwindSafe for SlackApiBotsInfoResponse
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