pub struct FilesCompleteUploadExternalBuilder { /* private fields */ }Expand description
The builder for FilesCompleteUploadExternal.
Implementations§
Source§impl FilesCompleteUploadExternalBuilder
impl FilesCompleteUploadExternalBuilder
Sourcepub fn build(self) -> FilesCompleteUploadExternal
pub fn build(self) -> FilesCompleteUploadExternal
Builds FilesCompleteUploadExternal.
Sourcepub fn add_file(self, id: String, title: Option<String>) -> Self
pub fn add_file(self, id: String, title: Option<String>) -> Self
Adds st::FilesCompleteUploadExternalRequestFile element to files.
Sourcepub fn channel_id(self, channel_id: Option<String>) -> Self
pub fn channel_id(self, channel_id: Option<String>) -> Self
Sets channel_id.
Sourcepub fn initial_comment(self, initial_comment: Option<String>) -> Self
pub fn initial_comment(self, initial_comment: Option<String>) -> Self
Sets initial_comment.
Trait Implementations§
Source§impl Default for FilesCompleteUploadExternalBuilder
impl Default for FilesCompleteUploadExternalBuilder
Source§fn default() -> FilesCompleteUploadExternalBuilder
fn default() -> FilesCompleteUploadExternalBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FilesCompleteUploadExternalBuilder
impl RefUnwindSafe for FilesCompleteUploadExternalBuilder
impl Send for FilesCompleteUploadExternalBuilder
impl Sync for FilesCompleteUploadExternalBuilder
impl Unpin for FilesCompleteUploadExternalBuilder
impl UnwindSafe for FilesCompleteUploadExternalBuilder
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