Struct slack_morphism::prelude::events::SlackFileSharedEvent
source · pub struct SlackFileSharedEvent {
pub channel_id: SlackChannelId,
pub file_id: SlackFileId,
pub user_id: SlackUserId,
pub event_ts: SlackTs,
}
Fields§
§channel_id: SlackChannelId
§file_id: SlackFileId
§user_id: SlackUserId
§event_ts: SlackTs
Implementations§
pub fn new( channel_id: SlackChannelId, file_id: SlackFileId, user_id: SlackUserId, event_ts: SlackTs ) -> Self
pub fn channel_id(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel_id(self, value: SlackChannelId) -> Self
pub fn file_id(&mut self, value: SlackFileId) -> &mut Self
pub fn with_file_id(self, value: SlackFileId) -> Self
pub fn user_id(&mut self, value: SlackUserId) -> &mut Self
pub fn with_user_id(self, value: SlackUserId) -> Self
pub fn event_ts(&mut self, value: SlackTs) -> &mut Self
pub fn with_event_ts(self, value: SlackTs) -> Self
Trait Implementations§
source§fn clone(&self) -> SlackFileSharedEvent
fn clone(&self) -> SlackFileSharedEvent
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§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§fn from(value: SlackFileSharedEventInit) -> Self
fn from(value: SlackFileSharedEventInit) -> Self
Converts to this type from the input type.
source§fn eq(&self, other: &SlackFileSharedEvent) -> bool
fn eq(&self, other: &SlackFileSharedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.Auto Trait Implementations§
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