pub struct SlackFileDeletedEvent {
pub file_id: SlackFileId,
pub event_ts: SlackTs,
}Fields§
§file_id: SlackFileId§event_ts: SlackTsImplementations§
Source§impl SlackFileDeletedEvent
impl SlackFileDeletedEvent
Sourcepub fn new(file_id: SlackFileId, event_ts: SlackTs) -> Self
pub fn new(file_id: SlackFileId, event_ts: SlackTs) -> Self
Creates a new SlackFileDeletedEvent from its required fields. Option fields start as None, and fields with #[default] take their default.
Sourcepub fn file_id(&mut self, value: SlackFileId) -> &mut Self
pub fn file_id(&mut self, value: SlackFileId) -> &mut Self
Sets file_id to value.
Sourcepub fn with_file_id(self, value: SlackFileId) -> Self
pub fn with_file_id(self, value: SlackFileId) -> Self
Returns self with file_id set to value.
Sourcepub fn with_event_ts(self, value: SlackTs) -> Self
pub fn with_event_ts(self, value: SlackTs) -> Self
Returns self with event_ts set to value.
Trait Implementations§
Source§impl Clone for SlackFileDeletedEvent
impl Clone for SlackFileDeletedEvent
Source§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§impl Serialize for SlackFileDeletedEvent
impl Serialize for SlackFileDeletedEvent
impl StructuralPartialEq for SlackFileDeletedEvent
Auto Trait Implementations§
impl Freeze for SlackFileDeletedEvent
impl RefUnwindSafe for SlackFileDeletedEvent
impl Send for SlackFileDeletedEvent
impl Sync for SlackFileDeletedEvent
impl Unpin for SlackFileDeletedEvent
impl UnsafeUnpin 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