pub struct SlackFileUnsharedEvent {
pub file_id: SlackFileId,
}Fields§
§file_id: SlackFileIdImplementations§
Sourcepub fn new(file_id: SlackFileId) -> Self
pub fn new(file_id: SlackFileId) -> Self
Creates a new SlackFileUnsharedEvent 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§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§fn from(value: SlackFileUnsharedEventInit) -> Self
fn from(value: SlackFileUnsharedEventInit) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
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