pub struct SlackApiFilesCompleteUploadExternalRequest {
pub files: Vec<SlackApiFilesComplete>,
pub channel_id: Option<SlackChannelId>,
pub initial_comment: Option<String>,
pub thread_ts: Option<SlackTs>,
}
Fields§
§files: Vec<SlackApiFilesComplete>
§channel_id: Option<SlackChannelId>
§initial_comment: Option<String>
§thread_ts: Option<SlackTs>
Implementations§
Source§impl SlackApiFilesCompleteUploadExternalRequest
impl SlackApiFilesCompleteUploadExternalRequest
pub fn new(files: Vec<SlackApiFilesComplete>) -> Self
pub fn files(&mut self, value: Vec<SlackApiFilesComplete>) -> &mut Self
pub fn with_files(self, value: Vec<SlackApiFilesComplete>) -> Self
pub fn channel_id(&mut self, value: SlackChannelId) -> &mut Self
pub fn reset_channel_id(&mut self) -> &mut Self
pub fn mopt_channel_id(&mut self, value: Option<SlackChannelId>) -> &mut Self
pub fn with_channel_id(self, value: SlackChannelId) -> Self
pub fn without_channel_id(self) -> Self
pub fn opt_channel_id(self, value: Option<SlackChannelId>) -> Self
pub fn initial_comment(&mut self, value: String) -> &mut Self
pub fn reset_initial_comment(&mut self) -> &mut Self
pub fn mopt_initial_comment(&mut self, value: Option<String>) -> &mut Self
pub fn with_initial_comment(self, value: String) -> Self
pub fn without_initial_comment(self) -> Self
pub fn opt_initial_comment(self, value: Option<String>) -> Self
pub fn thread_ts(&mut self, value: SlackTs) -> &mut Self
pub fn reset_thread_ts(&mut self) -> &mut Self
pub fn mopt_thread_ts(&mut self, value: Option<SlackTs>) -> &mut Self
pub fn with_thread_ts(self, value: SlackTs) -> Self
pub fn without_thread_ts(self) -> Self
pub fn opt_thread_ts(self, value: Option<SlackTs>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiFilesCompleteUploadExternalRequest
impl Clone for SlackApiFilesCompleteUploadExternalRequest
Source§fn clone(&self) -> SlackApiFilesCompleteUploadExternalRequest
fn clone(&self) -> SlackApiFilesCompleteUploadExternalRequest
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<'de> Deserialize<'de> for SlackApiFilesCompleteUploadExternalRequest
impl<'de> Deserialize<'de> for SlackApiFilesCompleteUploadExternalRequest
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<SlackApiFilesCompleteUploadExternalRequestInit> for SlackApiFilesCompleteUploadExternalRequest
impl From<SlackApiFilesCompleteUploadExternalRequestInit> for SlackApiFilesCompleteUploadExternalRequest
Source§fn from(value: SlackApiFilesCompleteUploadExternalRequestInit) -> Self
fn from(value: SlackApiFilesCompleteUploadExternalRequestInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiFilesCompleteUploadExternalRequest
impl PartialEq for SlackApiFilesCompleteUploadExternalRequest
Source§fn eq(&self, other: &SlackApiFilesCompleteUploadExternalRequest) -> bool
fn eq(&self, other: &SlackApiFilesCompleteUploadExternalRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackApiFilesCompleteUploadExternalRequest
Auto Trait Implementations§
impl Freeze for SlackApiFilesCompleteUploadExternalRequest
impl RefUnwindSafe for SlackApiFilesCompleteUploadExternalRequest
impl Send for SlackApiFilesCompleteUploadExternalRequest
impl Sync for SlackApiFilesCompleteUploadExternalRequest
impl Unpin for SlackApiFilesCompleteUploadExternalRequest
impl UnwindSafe for SlackApiFilesCompleteUploadExternalRequest
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
)