pub struct SlackApiFilesComplete {
pub id: SlackFileId,
pub title: Option<String>,
}
Fields§
§id: SlackFileId
§title: Option<String>
Implementations§
Source§impl SlackApiFilesComplete
impl SlackApiFilesComplete
pub fn new(id: SlackFileId) -> Self
pub fn id(&mut self, value: SlackFileId) -> &mut Self
pub fn with_id(self, value: SlackFileId) -> Self
pub fn title(&mut self, value: String) -> &mut Self
pub fn reset_title(&mut self) -> &mut Self
pub fn mopt_title(&mut self, value: Option<String>) -> &mut Self
pub fn with_title(self, value: String) -> Self
pub fn without_title(self) -> Self
pub fn opt_title(self, value: Option<String>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiFilesComplete
impl Clone for SlackApiFilesComplete
Source§fn clone(&self) -> SlackApiFilesComplete
fn clone(&self) -> SlackApiFilesComplete
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 SlackApiFilesComplete
impl Debug for SlackApiFilesComplete
Source§impl<'de> Deserialize<'de> for SlackApiFilesComplete
impl<'de> Deserialize<'de> for SlackApiFilesComplete
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<SlackApiFilesCompleteInit> for SlackApiFilesComplete
impl From<SlackApiFilesCompleteInit> for SlackApiFilesComplete
Source§fn from(value: SlackApiFilesCompleteInit) -> Self
fn from(value: SlackApiFilesCompleteInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiFilesComplete
impl PartialEq for SlackApiFilesComplete
Source§impl Serialize for SlackApiFilesComplete
impl Serialize for SlackApiFilesComplete
impl StructuralPartialEq for SlackApiFilesComplete
Auto Trait Implementations§
impl Freeze for SlackApiFilesComplete
impl RefUnwindSafe for SlackApiFilesComplete
impl Send for SlackApiFilesComplete
impl Sync for SlackApiFilesComplete
impl Unpin for SlackApiFilesComplete
impl UnwindSafe for SlackApiFilesComplete
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
)