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.
impl StructuralPartialEq for SlackUserStatusChangedEvent
Auto Trait Implementations§
impl Freeze for SlackUserStatusChangedEvent
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
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
)