Struct slack_morphism::prelude::events::SlackUserStatusChangedEvent
source · pub struct SlackUserStatusChangedEvent {
pub user: SlackUser,
pub event_ts: SlackTs,
pub cache_ts: SlackDateTime,
}
Fields§
§user: SlackUser
§event_ts: SlackTs
§cache_ts: SlackDateTime
Implementations§
source§impl SlackUserStatusChangedEvent
impl SlackUserStatusChangedEvent
pub fn new(user: SlackUser, event_ts: SlackTs, cache_ts: SlackDateTime) -> Self
pub fn user(&mut self, value: SlackUser) -> &mut Self
pub fn with_user(self, value: SlackUser) -> Self
pub fn event_ts(&mut self, value: SlackTs) -> &mut Self
pub fn with_event_ts(self, value: SlackTs) -> Self
pub fn cache_ts(&mut self, value: SlackDateTime) -> &mut Self
pub fn with_cache_ts(self, value: SlackDateTime) -> Self
Trait Implementations§
source§impl Clone for SlackUserStatusChangedEvent
impl Clone for SlackUserStatusChangedEvent
source§fn clone(&self) -> SlackUserStatusChangedEvent
fn clone(&self) -> SlackUserStatusChangedEvent
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 SlackUserStatusChangedEvent
impl Debug for SlackUserStatusChangedEvent
source§impl<'de> Deserialize<'de> for SlackUserStatusChangedEvent
impl<'de> Deserialize<'de> for SlackUserStatusChangedEvent
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<SlackUserStatusChangedEventInit> for SlackUserStatusChangedEvent
impl From<SlackUserStatusChangedEventInit> for SlackUserStatusChangedEvent
source§fn from(value: SlackUserStatusChangedEventInit) -> Self
fn from(value: SlackUserStatusChangedEventInit) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackUserStatusChangedEvent
impl PartialEq for SlackUserStatusChangedEvent
source§fn eq(&self, other: &SlackUserStatusChangedEvent) -> bool
fn eq(&self, other: &SlackUserStatusChangedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackUserStatusChangedEvent
Auto Trait Implementations§
impl RefUnwindSafe for SlackUserStatusChangedEvent
impl Send for SlackUserStatusChangedEvent
impl Sync for SlackUserStatusChangedEvent
impl Unpin for SlackUserStatusChangedEvent
impl UnwindSafe for SlackUserStatusChangedEvent
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