pub struct SlackStarsItemMessage {
pub message: SlackHistoryMessage,
pub channel: SlackChannelId,
pub date_create: SlackDateTime,
}
Fields§
§message: SlackHistoryMessage
§channel: SlackChannelId
§date_create: SlackDateTime
Implementations§
Source§impl SlackStarsItemMessage
impl SlackStarsItemMessage
pub fn new( message: SlackHistoryMessage, channel: SlackChannelId, date_create: SlackDateTime, ) -> Self
pub fn message(&mut self, value: SlackHistoryMessage) -> &mut Self
pub fn with_message(self, value: SlackHistoryMessage) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn date_create(&mut self, value: SlackDateTime) -> &mut Self
pub fn with_date_create(self, value: SlackDateTime) -> Self
Trait Implementations§
Source§impl Clone for SlackStarsItemMessage
impl Clone for SlackStarsItemMessage
Source§fn clone(&self) -> SlackStarsItemMessage
fn clone(&self) -> SlackStarsItemMessage
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 SlackStarsItemMessage
impl Debug for SlackStarsItemMessage
Source§impl<'de> Deserialize<'de> for SlackStarsItemMessage
impl<'de> Deserialize<'de> for SlackStarsItemMessage
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<SlackStarsItemMessageInit> for SlackStarsItemMessage
impl From<SlackStarsItemMessageInit> for SlackStarsItemMessage
Source§fn from(value: SlackStarsItemMessageInit) -> Self
fn from(value: SlackStarsItemMessageInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackStarsItemMessage
impl PartialEq for SlackStarsItemMessage
Source§impl Serialize for SlackStarsItemMessage
impl Serialize for SlackStarsItemMessage
impl StructuralPartialEq for SlackStarsItemMessage
Auto Trait Implementations§
impl Freeze for SlackStarsItemMessage
impl RefUnwindSafe for SlackStarsItemMessage
impl Send for SlackStarsItemMessage
impl Sync for SlackStarsItemMessage
impl Unpin for SlackStarsItemMessage
impl UnwindSafe for SlackStarsItemMessage
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
)