pub struct SlackApiConversationsCreateResponse {
pub channel: SlackChannelInfo,
}
Fields§
§channel: SlackChannelInfo
Implementations§
source§impl SlackApiConversationsCreateResponse
impl SlackApiConversationsCreateResponse
pub fn new(channel: SlackChannelInfo) -> Self
pub fn channel(&mut self, value: SlackChannelInfo) -> &mut Self
pub fn with_channel(self, value: SlackChannelInfo) -> Self
Trait Implementations§
source§impl Clone for SlackApiConversationsCreateResponse
impl Clone for SlackApiConversationsCreateResponse
source§fn clone(&self) -> SlackApiConversationsCreateResponse
fn clone(&self) -> SlackApiConversationsCreateResponse
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<'de> Deserialize<'de> for SlackApiConversationsCreateResponse
impl<'de> Deserialize<'de> for SlackApiConversationsCreateResponse
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<SlackApiConversationsCreateResponseInit> for SlackApiConversationsCreateResponse
impl From<SlackApiConversationsCreateResponseInit> for SlackApiConversationsCreateResponse
source§fn from(value: SlackApiConversationsCreateResponseInit) -> Self
fn from(value: SlackApiConversationsCreateResponseInit) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackApiConversationsCreateResponse
impl PartialEq for SlackApiConversationsCreateResponse
source§fn eq(&self, other: &SlackApiConversationsCreateResponse) -> bool
fn eq(&self, other: &SlackApiConversationsCreateResponse) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackApiConversationsCreateResponse
Auto Trait Implementations§
impl RefUnwindSafe for SlackApiConversationsCreateResponse
impl Send for SlackApiConversationsCreateResponse
impl Sync for SlackApiConversationsCreateResponse
impl Unpin for SlackApiConversationsCreateResponse
impl UnwindSafe for SlackApiConversationsCreateResponse
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