Struct slack_morphism::prelude::SlackFileChangedEvent
source · pub struct SlackFileChangedEvent {
pub file_id: SlackFileId,
}
Fields§
§file_id: SlackFileId
Implementations§
source§impl SlackFileChangedEvent
impl SlackFileChangedEvent
pub fn new(file_id: SlackFileId) -> Self
pub fn file_id(&mut self, value: SlackFileId) -> &mut Self
pub fn with_file_id(self, value: SlackFileId) -> Self
Trait Implementations§
source§impl Clone for SlackFileChangedEvent
impl Clone for SlackFileChangedEvent
source§fn clone(&self) -> SlackFileChangedEvent
fn clone(&self) -> SlackFileChangedEvent
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 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§fn eq(&self, other: &SlackFileChangedEvent) -> bool
fn eq(&self, other: &SlackFileChangedEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for SlackFileChangedEvent
impl Serialize for SlackFileChangedEvent
impl StructuralPartialEq for SlackFileChangedEvent
Auto Trait Implementations§
impl RefUnwindSafe for SlackFileChangedEvent
impl Send for SlackFileChangedEvent
impl Sync for SlackFileChangedEvent
impl Unpin 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