pub struct SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo,{
pub channel: T,
pub already_open: Option<bool>,
pub no_op: Option<bool>,
}
Fields§
§channel: T
§already_open: Option<bool>
§no_op: Option<bool>
Implementations§
Source§impl<T> SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo,
impl<T> SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo,
pub fn new(channel: T) -> Self
pub fn channel(&mut self, value: T) -> &mut Self
pub fn with_channel(self, value: T) -> Self
pub fn already_open(&mut self, value: bool) -> &mut Self
pub fn reset_already_open(&mut self) -> &mut Self
pub fn mopt_already_open(&mut self, value: Option<bool>) -> &mut Self
pub fn with_already_open(self, value: bool) -> Self
pub fn without_already_open(self) -> Self
pub fn opt_already_open(self, value: Option<bool>) -> Self
pub fn no_op(&mut self, value: bool) -> &mut Self
pub fn reset_no_op(&mut self) -> &mut Self
pub fn mopt_no_op(&mut self, value: Option<bool>) -> &mut Self
pub fn with_no_op(self, value: bool) -> Self
pub fn without_no_op(self) -> Self
pub fn opt_no_op(self, value: Option<bool>) -> Self
Trait Implementations§
Source§impl<T> Clone for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + Clone,
impl<T> Clone for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + Clone,
Source§fn clone(&self) -> SlackApiConversationsOpenResponse<T>
fn clone(&self) -> SlackApiConversationsOpenResponse<T>
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<T> Debug for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + Debug,
impl<T> Debug for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + Debug,
Source§impl<'de, T> Deserialize<'de> for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + Deserialize<'de>,
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<T> From<SlackApiConversationsOpenResponseInit<T>> for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo,
impl<T> From<SlackApiConversationsOpenResponseInit<T>> for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo,
Source§fn from(value: SlackApiConversationsOpenResponseInit<T>) -> Self
fn from(value: SlackApiConversationsOpenResponseInit<T>) -> Self
Converts to this type from the input type.
Source§impl<T> PartialEq for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + PartialEq,
impl<T> PartialEq for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + PartialEq,
Source§fn eq(&self, other: &SlackApiConversationsOpenResponse<T>) -> bool
fn eq(&self, other: &SlackApiConversationsOpenResponse<T>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl<T> Serialize for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + Serialize,
impl<T> Serialize for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo + Serialize,
impl<T> StructuralPartialEq for SlackApiConversationsOpenResponse<T>where
T: HasChannelInfo,
Auto Trait Implementations§
impl<T> Freeze for SlackApiConversationsOpenResponse<T>where
T: Freeze,
impl<T> RefUnwindSafe for SlackApiConversationsOpenResponse<T>where
T: RefUnwindSafe,
impl<T> Send for SlackApiConversationsOpenResponse<T>where
T: Send,
impl<T> Sync for SlackApiConversationsOpenResponse<T>where
T: Sync,
impl<T> Unpin for SlackApiConversationsOpenResponse<T>where
T: Unpin,
impl<T> UnwindSafe for SlackApiConversationsOpenResponse<T>where
T: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)