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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackApiReactionsGetMessageResponse
Auto Trait Implementations§
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