pub struct SlackApiReactionsGetMessageResponse {
pub message: SlackHistoryMessage,
pub permalink: Option<Url>,
}
Fields§
§message: SlackHistoryMessage
§permalink: Option<Url>
Implementations§
Source§impl SlackApiReactionsGetMessageResponse
impl SlackApiReactionsGetMessageResponse
pub fn new(message: SlackHistoryMessage) -> Self
pub fn message(&mut self, value: SlackHistoryMessage) -> &mut Self
pub fn with_message(self, value: SlackHistoryMessage) -> Self
pub fn permalink(&mut self, value: Url) -> &mut Self
pub fn reset_permalink(&mut self) -> &mut Self
pub fn mopt_permalink(&mut self, value: Option<Url>) -> &mut Self
pub fn with_permalink(self, value: Url) -> Self
pub fn without_permalink(self) -> Self
pub fn opt_permalink(self, value: Option<Url>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiReactionsGetMessageResponse
impl Clone for SlackApiReactionsGetMessageResponse
Source§fn clone(&self) -> SlackApiReactionsGetMessageResponse
fn clone(&self) -> SlackApiReactionsGetMessageResponse
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 SlackApiReactionsGetMessageResponse
impl<'de> Deserialize<'de> for SlackApiReactionsGetMessageResponse
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<SlackApiReactionsGetMessageResponseInit> for SlackApiReactionsGetMessageResponse
impl From<SlackApiReactionsGetMessageResponseInit> for SlackApiReactionsGetMessageResponse
Source§fn from(value: SlackApiReactionsGetMessageResponseInit) -> Self
fn from(value: SlackApiReactionsGetMessageResponseInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiReactionsGetMessageResponse
impl PartialEq for SlackApiReactionsGetMessageResponse
Source§fn eq(&self, other: &SlackApiReactionsGetMessageResponse) -> bool
fn eq(&self, other: &SlackApiReactionsGetMessageResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackApiReactionsGetMessageResponse
Auto Trait Implementations§
impl Freeze for SlackApiReactionsGetMessageResponse
impl RefUnwindSafe for SlackApiReactionsGetMessageResponse
impl Send for SlackApiReactionsGetMessageResponse
impl Sync for SlackApiReactionsGetMessageResponse
impl Unpin for SlackApiReactionsGetMessageResponse
impl UnwindSafe for SlackApiReactionsGetMessageResponse
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
)