Struct slack_morphism::SlackParentMessageParams
source · pub struct SlackParentMessageParams {
pub reply_count: Option<usize>,
pub reply_users_count: Option<usize>,
pub latest_reply: Option<SlackTs>,
pub reply_users: Option<Vec<SlackUserId>>,
}Fields§
§reply_count: Option<usize>§reply_users_count: Option<usize>§latest_reply: Option<SlackTs>§reply_users: Option<Vec<SlackUserId>>Implementations§
source§impl SlackParentMessageParams
impl SlackParentMessageParams
pub fn new() -> Self
pub fn reply_count(&mut self, value: usize) -> &mut Self
pub fn reset_reply_count(&mut self) -> &mut Self
pub fn mopt_reply_count(&mut self, value: Option<usize>) -> &mut Self
pub fn with_reply_count(self, value: usize) -> Self
pub fn without_reply_count(self) -> Self
pub fn opt_reply_count(self, value: Option<usize>) -> Self
pub fn reply_users_count(&mut self, value: usize) -> &mut Self
pub fn reset_reply_users_count(&mut self) -> &mut Self
pub fn mopt_reply_users_count(&mut self, value: Option<usize>) -> &mut Self
pub fn with_reply_users_count(self, value: usize) -> Self
pub fn without_reply_users_count(self) -> Self
pub fn opt_reply_users_count(self, value: Option<usize>) -> Self
pub fn latest_reply(&mut self, value: SlackTs) -> &mut Self
pub fn reset_latest_reply(&mut self) -> &mut Self
pub fn mopt_latest_reply(&mut self, value: Option<SlackTs>) -> &mut Self
pub fn with_latest_reply(self, value: SlackTs) -> Self
pub fn without_latest_reply(self) -> Self
pub fn opt_latest_reply(self, value: Option<SlackTs>) -> Self
pub fn reply_users(&mut self, value: Vec<SlackUserId>) -> &mut Self
pub fn reset_reply_users(&mut self) -> &mut Self
pub fn mopt_reply_users(&mut self, value: Option<Vec<SlackUserId>>) -> &mut Self
pub fn with_reply_users(self, value: Vec<SlackUserId>) -> Self
pub fn without_reply_users(self) -> Self
pub fn opt_reply_users(self, value: Option<Vec<SlackUserId>>) -> Self
Trait Implementations§
source§impl Clone for SlackParentMessageParams
impl Clone for SlackParentMessageParams
source§fn clone(&self) -> SlackParentMessageParams
fn clone(&self) -> SlackParentMessageParams
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 Debug for SlackParentMessageParams
impl Debug for SlackParentMessageParams
source§impl<'de> Deserialize<'de> for SlackParentMessageParams
impl<'de> Deserialize<'de> for SlackParentMessageParams
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<SlackParentMessageParamsInit> for SlackParentMessageParams
impl From<SlackParentMessageParamsInit> for SlackParentMessageParams
source§fn from(value: SlackParentMessageParamsInit) -> Self
fn from(value: SlackParentMessageParamsInit) -> Self
Converts to this type from the input type.