Struct slack_morphism::api::SlackApiBotsInfoRequest
source · pub struct SlackApiBotsInfoRequest {
pub bot: Option<String>,
}Fields§
§bot: Option<String>Implementations§
source§impl SlackApiBotsInfoRequest
impl SlackApiBotsInfoRequest
pub fn new() -> Self
pub fn bot(&mut self, value: String) -> &mut Self
pub fn reset_bot(&mut self) -> &mut Self
pub fn mopt_bot(&mut self, value: Option<String>) -> &mut Self
pub fn with_bot(self, value: String) -> Self
pub fn without_bot(self) -> Self
pub fn opt_bot(self, value: Option<String>) -> Self
Trait Implementations§
source§impl Clone for SlackApiBotsInfoRequest
impl Clone for SlackApiBotsInfoRequest
source§fn clone(&self) -> SlackApiBotsInfoRequest
fn clone(&self) -> SlackApiBotsInfoRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for SlackApiBotsInfoRequest
impl Debug for SlackApiBotsInfoRequest
source§impl<'de> Deserialize<'de> for SlackApiBotsInfoRequest
impl<'de> Deserialize<'de> for SlackApiBotsInfoRequest
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<SlackApiBotsInfoRequestInit> for SlackApiBotsInfoRequest
impl From<SlackApiBotsInfoRequestInit> for SlackApiBotsInfoRequest
source§fn from(value: SlackApiBotsInfoRequestInit) -> Self
fn from(value: SlackApiBotsInfoRequestInit) -> Self
Converts to this type from the input type.
source§impl PartialEq<SlackApiBotsInfoRequest> for SlackApiBotsInfoRequest
impl PartialEq<SlackApiBotsInfoRequest> for SlackApiBotsInfoRequest
source§fn eq(&self, other: &SlackApiBotsInfoRequest) -> bool
fn eq(&self, other: &SlackApiBotsInfoRequest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.