pub struct SlackApiConversationsRepliesRequest {
pub channel: SlackChannelId,
pub ts: SlackTs,
pub cursor: Option<SlackCursorId>,
pub latest: Option<SlackTs>,
pub limit: Option<u16>,
pub oldest: Option<SlackTs>,
pub inclusive: Option<bool>,
}Fields§
§channel: SlackChannelId§ts: SlackTs§cursor: Option<SlackCursorId>§latest: Option<SlackTs>§limit: Option<u16>§oldest: Option<SlackTs>§inclusive: Option<bool>Implementations§
Source§impl SlackApiConversationsRepliesRequest
impl SlackApiConversationsRepliesRequest
Sourcepub fn new(channel: SlackChannelId, ts: SlackTs) -> Self
pub fn new(channel: SlackChannelId, ts: SlackTs) -> Self
Creates a new SlackApiConversationsRepliesRequest from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
Sets channel to value.
Sourcepub fn with_channel(self, value: SlackChannelId) -> Self
pub fn with_channel(self, value: SlackChannelId) -> Self
Returns self with channel set to value.
Sourcepub fn cursor(&mut self, value: SlackCursorId) -> &mut Self
pub fn cursor(&mut self, value: SlackCursorId) -> &mut Self
Sets cursor to Some(value).
Sourcepub fn reset_cursor(&mut self) -> &mut Self
pub fn reset_cursor(&mut self) -> &mut Self
Sets cursor to None.
Sourcepub fn mopt_cursor(&mut self, value: Option<SlackCursorId>) -> &mut Self
pub fn mopt_cursor(&mut self, value: Option<SlackCursorId>) -> &mut Self
Sets cursor to the given Option.
Sourcepub fn with_cursor(self, value: SlackCursorId) -> Self
pub fn with_cursor(self, value: SlackCursorId) -> Self
Returns self with cursor set to Some(value).
Sourcepub fn without_cursor(self) -> Self
pub fn without_cursor(self) -> Self
Returns self with cursor set to None.
Sourcepub fn opt_cursor(self, value: Option<SlackCursorId>) -> Self
pub fn opt_cursor(self, value: Option<SlackCursorId>) -> Self
Returns self with cursor set to the given Option.
Sourcepub fn reset_latest(&mut self) -> &mut Self
pub fn reset_latest(&mut self) -> &mut Self
Sets latest to None.
Sourcepub fn mopt_latest(&mut self, value: Option<SlackTs>) -> &mut Self
pub fn mopt_latest(&mut self, value: Option<SlackTs>) -> &mut Self
Sets latest to the given Option.
Sourcepub fn with_latest(self, value: SlackTs) -> Self
pub fn with_latest(self, value: SlackTs) -> Self
Returns self with latest set to Some(value).
Sourcepub fn without_latest(self) -> Self
pub fn without_latest(self) -> Self
Returns self with latest set to None.
Sourcepub fn opt_latest(self, value: Option<SlackTs>) -> Self
pub fn opt_latest(self, value: Option<SlackTs>) -> Self
Returns self with latest set to the given Option.
Sourcepub fn reset_limit(&mut self) -> &mut Self
pub fn reset_limit(&mut self) -> &mut Self
Sets limit to None.
Sourcepub fn mopt_limit(&mut self, value: Option<u16>) -> &mut Self
pub fn mopt_limit(&mut self, value: Option<u16>) -> &mut Self
Sets limit to the given Option.
Sourcepub fn with_limit(self, value: u16) -> Self
pub fn with_limit(self, value: u16) -> Self
Returns self with limit set to Some(value).
Sourcepub fn without_limit(self) -> Self
pub fn without_limit(self) -> Self
Returns self with limit set to None.
Sourcepub fn opt_limit(self, value: Option<u16>) -> Self
pub fn opt_limit(self, value: Option<u16>) -> Self
Returns self with limit set to the given Option.
Sourcepub fn reset_oldest(&mut self) -> &mut Self
pub fn reset_oldest(&mut self) -> &mut Self
Sets oldest to None.
Sourcepub fn mopt_oldest(&mut self, value: Option<SlackTs>) -> &mut Self
pub fn mopt_oldest(&mut self, value: Option<SlackTs>) -> &mut Self
Sets oldest to the given Option.
Sourcepub fn with_oldest(self, value: SlackTs) -> Self
pub fn with_oldest(self, value: SlackTs) -> Self
Returns self with oldest set to Some(value).
Sourcepub fn without_oldest(self) -> Self
pub fn without_oldest(self) -> Self
Returns self with oldest set to None.
Sourcepub fn opt_oldest(self, value: Option<SlackTs>) -> Self
pub fn opt_oldest(self, value: Option<SlackTs>) -> Self
Returns self with oldest set to the given Option.
Sourcepub fn reset_inclusive(&mut self) -> &mut Self
pub fn reset_inclusive(&mut self) -> &mut Self
Sets inclusive to None.
Sourcepub fn mopt_inclusive(&mut self, value: Option<bool>) -> &mut Self
pub fn mopt_inclusive(&mut self, value: Option<bool>) -> &mut Self
Sets inclusive to the given Option.
Sourcepub fn with_inclusive(self, value: bool) -> Self
pub fn with_inclusive(self, value: bool) -> Self
Returns self with inclusive set to Some(value).
Sourcepub fn without_inclusive(self) -> Self
pub fn without_inclusive(self) -> Self
Returns self with inclusive set to None.
Sourcepub fn opt_inclusive(self, value: Option<bool>) -> Self
pub fn opt_inclusive(self, value: Option<bool>) -> Self
Returns self with inclusive set to the given Option.