pub struct SlackFileChangedEvent {
pub file_id: SlackFileId,
}Fields§
§file_id: SlackFileIdImplementations§
Source§impl SlackFileChangedEvent
impl SlackFileChangedEvent
Sourcepub fn new(file_id: SlackFileId) -> Self
pub fn new(file_id: SlackFileId) -> Self
Creates a new SlackFileChangedEvent 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.
Trait Implementations§
Source§impl Clone for SlackFileChangedEvent
impl Clone for SlackFileChangedEvent
Source§impl Debug for SlackFileChangedEvent
impl Debug for SlackFileChangedEvent
Source§impl<'de> Deserialize<'de> for SlackFileChangedEvent
impl<'de> Deserialize<'de> for SlackFileChangedEvent
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<SlackFileChangedEventInit> for SlackFileChangedEvent
impl From<SlackFileChangedEventInit> for SlackFileChangedEvent
Source§fn from(value: SlackFileChangedEventInit) -> Self
fn from(value: SlackFileChangedEventInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackFileChangedEvent
impl PartialEq for SlackFileChangedEvent
Source§impl Serialize for SlackFileChangedEvent
impl Serialize for SlackFileChangedEvent
impl StructuralPartialEq for SlackFileChangedEvent
Auto Trait Implementations§
impl Freeze for SlackFileChangedEvent
impl RefUnwindSafe for SlackFileChangedEvent
impl Send for SlackFileChangedEvent
impl Sync for SlackFileChangedEvent
impl Unpin for SlackFileChangedEvent
impl UnsafeUnpin for SlackFileChangedEvent
impl UnwindSafe for SlackFileChangedEvent
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