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
This method 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> 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