pub struct SlackFileCreatedEvent {
pub user_id: SlackUserId,
pub file_id: SlackFileId,
pub file: SlackFile,
}
Fields§
§user_id: SlackUserId
§file_id: SlackFileId
§file: SlackFile
Implementations§
Source§impl SlackFileCreatedEvent
impl SlackFileCreatedEvent
pub fn new(user_id: SlackUserId, file_id: SlackFileId, file: SlackFile) -> Self
pub fn user_id(&mut self, value: SlackUserId) -> &mut Self
pub fn with_user_id(self, value: SlackUserId) -> Self
pub fn file_id(&mut self, value: SlackFileId) -> &mut Self
pub fn with_file_id(self, value: SlackFileId) -> Self
pub fn file(&mut self, value: SlackFile) -> &mut Self
pub fn with_file(self, value: SlackFile) -> Self
Trait Implementations§
Source§impl Clone for SlackFileCreatedEvent
impl Clone for SlackFileCreatedEvent
Source§fn clone(&self) -> SlackFileCreatedEvent
fn clone(&self) -> SlackFileCreatedEvent
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 SlackFileCreatedEvent
impl Debug for SlackFileCreatedEvent
Source§impl<'de> Deserialize<'de> for SlackFileCreatedEvent
impl<'de> Deserialize<'de> for SlackFileCreatedEvent
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<SlackFileCreatedEventInit> for SlackFileCreatedEvent
impl From<SlackFileCreatedEventInit> for SlackFileCreatedEvent
Source§fn from(value: SlackFileCreatedEventInit) -> Self
fn from(value: SlackFileCreatedEventInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackFileCreatedEvent
impl PartialEq for SlackFileCreatedEvent
Source§impl Serialize for SlackFileCreatedEvent
impl Serialize for SlackFileCreatedEvent
impl StructuralPartialEq for SlackFileCreatedEvent
Auto Trait Implementations§
impl Freeze for SlackFileCreatedEvent
impl RefUnwindSafe for SlackFileCreatedEvent
impl Send for SlackFileCreatedEvent
impl Sync for SlackFileCreatedEvent
impl Unpin for SlackFileCreatedEvent
impl UnwindSafe for SlackFileCreatedEvent
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
)