pub struct SlackApiConversationsCloseResponse {
pub no_op: Option<bool>,
pub already_closed: Option<bool>,
}Fields§
§no_op: Option<bool>§already_closed: Option<bool>Implementations§
Source§impl SlackApiConversationsCloseResponse
impl SlackApiConversationsCloseResponse
Sourcepub fn new() -> Self
pub fn new() -> Self
Creates a new SlackApiConversationsCloseResponse from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn reset_no_op(&mut self) -> &mut Self
pub fn reset_no_op(&mut self) -> &mut Self
Sets no_op to None.
Sourcepub fn mopt_no_op(&mut self, value: Option<bool>) -> &mut Self
pub fn mopt_no_op(&mut self, value: Option<bool>) -> &mut Self
Sets no_op to the given Option.
Sourcepub fn with_no_op(self, value: bool) -> Self
pub fn with_no_op(self, value: bool) -> Self
Returns self with no_op set to Some(value).
Sourcepub fn without_no_op(self) -> Self
pub fn without_no_op(self) -> Self
Returns self with no_op set to None.
Sourcepub fn opt_no_op(self, value: Option<bool>) -> Self
pub fn opt_no_op(self, value: Option<bool>) -> Self
Returns self with no_op set to the given Option.
Sourcepub fn already_closed(&mut self, value: bool) -> &mut Self
pub fn already_closed(&mut self, value: bool) -> &mut Self
Sets already_closed to Some(value).
Sourcepub fn reset_already_closed(&mut self) -> &mut Self
pub fn reset_already_closed(&mut self) -> &mut Self
Sets already_closed to None.
Sourcepub fn mopt_already_closed(&mut self, value: Option<bool>) -> &mut Self
pub fn mopt_already_closed(&mut self, value: Option<bool>) -> &mut Self
Sets already_closed to the given Option.
Sourcepub fn with_already_closed(self, value: bool) -> Self
pub fn with_already_closed(self, value: bool) -> Self
Returns self with already_closed set to Some(value).
Sourcepub fn without_already_closed(self) -> Self
pub fn without_already_closed(self) -> Self
Returns self with already_closed set to None.
Sourcepub fn opt_already_closed(self, value: Option<bool>) -> Self
pub fn opt_already_closed(self, value: Option<bool>) -> Self
Returns self with already_closed set to the given Option.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for SlackApiConversationsCloseResponse
impl<'de> Deserialize<'de> for SlackApiConversationsCloseResponse
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<SlackApiConversationsCloseResponseInit> for SlackApiConversationsCloseResponse
impl From<SlackApiConversationsCloseResponseInit> for SlackApiConversationsCloseResponse
Source§fn from(value: SlackApiConversationsCloseResponseInit) -> Self
fn from(value: SlackApiConversationsCloseResponseInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiConversationsCloseResponse
Auto Trait Implementations§
impl Freeze for SlackApiConversationsCloseResponse
impl RefUnwindSafe for SlackApiConversationsCloseResponse
impl Send for SlackApiConversationsCloseResponse
impl Sync for SlackApiConversationsCloseResponse
impl Unpin for SlackApiConversationsCloseResponse
impl UnsafeUnpin for SlackApiConversationsCloseResponse
impl UnwindSafe for SlackApiConversationsCloseResponse
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