pub struct SlackApiStarsRemoveRequest {
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 SlackApiStarsRemoveRequest
impl SlackApiStarsRemoveRequest
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 SlackApiStarsRemoveRequest
impl Clone for SlackApiStarsRemoveRequest
Source§fn clone(&self) -> SlackApiStarsRemoveRequest
fn clone(&self) -> SlackApiStarsRemoveRequest
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 SlackApiStarsRemoveRequest
impl Debug for SlackApiStarsRemoveRequest
Source§impl<'de> Deserialize<'de> for SlackApiStarsRemoveRequest
impl<'de> Deserialize<'de> for SlackApiStarsRemoveRequest
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<SlackApiStarsRemoveRequestInit> for SlackApiStarsRemoveRequest
impl From<SlackApiStarsRemoveRequestInit> for SlackApiStarsRemoveRequest
Source§fn from(value: SlackApiStarsRemoveRequestInit) -> Self
fn from(value: SlackApiStarsRemoveRequestInit) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for SlackApiStarsRemoveRequest
Auto Trait Implementations§
impl Freeze for SlackApiStarsRemoveRequest
impl RefUnwindSafe for SlackApiStarsRemoveRequest
impl Send for SlackApiStarsRemoveRequest
impl Sync for SlackApiStarsRemoveRequest
impl Unpin for SlackApiStarsRemoveRequest
impl UnwindSafe for SlackApiStarsRemoveRequest
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
)