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