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