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.
Source§impl PartialEq for SlackParentMessageParams
impl PartialEq for SlackParentMessageParams
Source§impl Serialize for SlackParentMessageParams
impl Serialize for SlackParentMessageParams
impl StructuralPartialEq for SlackParentMessageParams
Auto Trait Implementations§
impl Freeze for SlackParentMessageParams
impl RefUnwindSafe for SlackParentMessageParams
impl Send for SlackParentMessageParams
impl Sync for SlackParentMessageParams
impl Unpin for SlackParentMessageParams
impl UnwindSafe for SlackParentMessageParams
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
)