pub struct SlackApiFilesGetUploadUrlExternalResponse {
pub upload_url: SlackFileUploadUrl,
pub file_id: SlackFileId,
}
Fields§
§upload_url: SlackFileUploadUrl
§file_id: SlackFileId
Implementations§
Source§impl SlackApiFilesGetUploadUrlExternalResponse
impl SlackApiFilesGetUploadUrlExternalResponse
pub fn new(upload_url: SlackFileUploadUrl, file_id: SlackFileId) -> Self
pub fn upload_url(&mut self, value: SlackFileUploadUrl) -> &mut Self
pub fn with_upload_url(self, value: SlackFileUploadUrl) -> 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 SlackApiFilesGetUploadUrlExternalResponse
impl Clone for SlackApiFilesGetUploadUrlExternalResponse
Source§fn clone(&self) -> SlackApiFilesGetUploadUrlExternalResponse
fn clone(&self) -> SlackApiFilesGetUploadUrlExternalResponse
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 SlackApiFilesGetUploadUrlExternalResponse
impl<'de> Deserialize<'de> for SlackApiFilesGetUploadUrlExternalResponse
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<SlackApiFilesGetUploadUrlExternalResponseInit> for SlackApiFilesGetUploadUrlExternalResponse
impl From<SlackApiFilesGetUploadUrlExternalResponseInit> for SlackApiFilesGetUploadUrlExternalResponse
Source§fn from(value: SlackApiFilesGetUploadUrlExternalResponseInit) -> Self
fn from(value: SlackApiFilesGetUploadUrlExternalResponseInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiFilesGetUploadUrlExternalResponse
impl PartialEq for SlackApiFilesGetUploadUrlExternalResponse
Source§fn eq(&self, other: &SlackApiFilesGetUploadUrlExternalResponse) -> bool
fn eq(&self, other: &SlackApiFilesGetUploadUrlExternalResponse) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackApiFilesGetUploadUrlExternalResponse
Auto Trait Implementations§
impl Freeze for SlackApiFilesGetUploadUrlExternalResponse
impl RefUnwindSafe for SlackApiFilesGetUploadUrlExternalResponse
impl Send for SlackApiFilesGetUploadUrlExternalResponse
impl Sync for SlackApiFilesGetUploadUrlExternalResponse
impl Unpin for SlackApiFilesGetUploadUrlExternalResponse
impl UnwindSafe for SlackApiFilesGetUploadUrlExternalResponse
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
)