pub struct SlackApiStarsAddRequest {
pub channel: Option<SlackChannelId>,
pub file: Option<SlackFileId>,
pub file_comment: Option<SlackFileCommentId>,
pub timestamp: Option<SlackTs>,
}
Fields§
§channel: Option<SlackChannelId>
§file: Option<SlackFileId>
§file_comment: Option<SlackFileCommentId>
§timestamp: Option<SlackTs>
Implementations§
Source§impl SlackApiStarsAddRequest
impl SlackApiStarsAddRequest
pub fn new() -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn reset_channel(&mut self) -> &mut Self
pub fn mopt_channel(&mut self, value: Option<SlackChannelId>) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn without_channel(self) -> Self
pub fn opt_channel(self, value: Option<SlackChannelId>) -> Self
pub fn file(&mut self, value: SlackFileId) -> &mut Self
pub fn reset_file(&mut self) -> &mut Self
pub fn mopt_file(&mut self, value: Option<SlackFileId>) -> &mut Self
pub fn with_file(self, value: SlackFileId) -> Self
pub fn without_file(self) -> Self
pub fn opt_file(self, value: Option<SlackFileId>) -> Self
pub fn file_comment(&mut self, value: SlackFileCommentId) -> &mut Self
pub fn reset_file_comment(&mut self) -> &mut Self
pub fn mopt_file_comment( &mut self, value: Option<SlackFileCommentId>, ) -> &mut Self
pub fn with_file_comment(self, value: SlackFileCommentId) -> Self
pub fn without_file_comment(self) -> Self
pub fn opt_file_comment(self, value: Option<SlackFileCommentId>) -> Self
pub fn timestamp(&mut self, value: SlackTs) -> &mut Self
pub fn reset_timestamp(&mut self) -> &mut Self
pub fn mopt_timestamp(&mut self, value: Option<SlackTs>) -> &mut Self
pub fn with_timestamp(self, value: SlackTs) -> Self
pub fn without_timestamp(self) -> Self
pub fn opt_timestamp(self, value: Option<SlackTs>) -> Self
Trait Implementations§
Source§impl Clone for SlackApiStarsAddRequest
impl Clone for SlackApiStarsAddRequest
Source§fn clone(&self) -> SlackApiStarsAddRequest
fn clone(&self) -> SlackApiStarsAddRequest
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 SlackApiStarsAddRequest
impl Debug for SlackApiStarsAddRequest
Source§impl<'de> Deserialize<'de> for SlackApiStarsAddRequest
impl<'de> Deserialize<'de> for SlackApiStarsAddRequest
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<SlackApiStarsAddRequestInit> for SlackApiStarsAddRequest
impl From<SlackApiStarsAddRequestInit> for SlackApiStarsAddRequest
Source§fn from(value: SlackApiStarsAddRequestInit) -> Self
fn from(value: SlackApiStarsAddRequestInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiStarsAddRequest
impl PartialEq for SlackApiStarsAddRequest
Source§impl Serialize for SlackApiStarsAddRequest
impl Serialize for SlackApiStarsAddRequest
impl StructuralPartialEq for SlackApiStarsAddRequest
Auto Trait Implementations§
impl Freeze for SlackApiStarsAddRequest
impl RefUnwindSafe for SlackApiStarsAddRequest
impl Send for SlackApiStarsAddRequest
impl Sync for SlackApiStarsAddRequest
impl Unpin for SlackApiStarsAddRequest
impl UnwindSafe for SlackApiStarsAddRequest
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
)