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