pub struct SlackApiConversationsRepliesResponse {
pub messages: Vec<SlackHistoryMessage>,
pub response_metadata: Option<SlackResponseMetadata>,
pub has_more: Option<bool>,
}
Fields§
§messages: Vec<SlackHistoryMessage>
§response_metadata: Option<SlackResponseMetadata>
§has_more: Option<bool>
Implementations§
Source§impl SlackApiConversationsRepliesResponse
impl SlackApiConversationsRepliesResponse
pub fn new(messages: Vec<SlackHistoryMessage>) -> Self
pub fn messages(&mut self, value: Vec<SlackHistoryMessage>) -> &mut Self
pub fn with_messages(self, value: Vec<SlackHistoryMessage>) -> Self
pub fn response_metadata(&mut self, value: SlackResponseMetadata) -> &mut Self
pub fn reset_response_metadata(&mut self) -> &mut Self
pub fn mopt_response_metadata( &mut self, value: Option<SlackResponseMetadata>, ) -> &mut Self
pub fn with_response_metadata(self, value: SlackResponseMetadata) -> Self
pub fn without_response_metadata(self) -> Self
pub fn opt_response_metadata(self, value: Option<SlackResponseMetadata>) -> Self
pub fn has_more(&mut self, value: bool) -> &mut Self
pub fn reset_has_more(&mut self) -> &mut Self
pub fn mopt_has_more(&mut self, value: Option<bool>) -> &mut Self
pub fn with_has_more(self, value: bool) -> Self
pub fn without_has_more(self) -> Self
pub fn opt_has_more(self, value: Option<bool>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiConversationsRepliesResponse
impl Clone for SlackApiConversationsRepliesResponse
Source§fn clone(&self) -> SlackApiConversationsRepliesResponse
fn clone(&self) -> SlackApiConversationsRepliesResponse
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 SlackApiConversationsRepliesResponse
impl<'de> Deserialize<'de> for SlackApiConversationsRepliesResponse
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<SlackApiConversationsRepliesResponseInit> for SlackApiConversationsRepliesResponse
impl From<SlackApiConversationsRepliesResponseInit> for SlackApiConversationsRepliesResponse
Source§fn from(value: SlackApiConversationsRepliesResponseInit) -> Self
fn from(value: SlackApiConversationsRepliesResponseInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiConversationsRepliesResponse
impl PartialEq for SlackApiConversationsRepliesResponse
Source§fn eq(&self, other: &SlackApiConversationsRepliesResponse) -> bool
fn eq(&self, other: &SlackApiConversationsRepliesResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.Source§impl SlackApiScrollableResponse for SlackApiConversationsRepliesResponse
impl SlackApiScrollableResponse for SlackApiConversationsRepliesResponse
type CursorType = SlackCursorId
type ResponseItemType = SlackHistoryMessage
fn next_cursor(&self) -> Option<&Self::CursorType>
fn scrollable_items<'a>( &'a self, ) -> Box<dyn Iterator<Item = &'a Self::ResponseItemType> + 'a>
impl StructuralPartialEq for SlackApiConversationsRepliesResponse
Auto Trait Implementations§
impl Freeze for SlackApiConversationsRepliesResponse
impl RefUnwindSafe for SlackApiConversationsRepliesResponse
impl Send for SlackApiConversationsRepliesResponse
impl Sync for SlackApiConversationsRepliesResponse
impl Unpin for SlackApiConversationsRepliesResponse
impl UnwindSafe for SlackApiConversationsRepliesResponse
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
)