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