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