pub struct SlackApiPinsRemoveRequest {
pub channel: SlackChannelId,
pub timestamp: SlackTs,
}Fields§
§channel: SlackChannelId§timestamp: SlackTsImplementations§
Source§impl SlackApiPinsRemoveRequest
impl SlackApiPinsRemoveRequest
pub fn new(channel: SlackChannelId, timestamp: SlackTs) -> Self
pub fn channel(&mut self, value: SlackChannelId) -> &mut Self
pub fn with_channel(self, value: SlackChannelId) -> Self
pub fn timestamp(&mut self, value: SlackTs) -> &mut Self
pub fn with_timestamp(self, value: SlackTs) -> Self
Trait Implementations§
Source§impl Clone for SlackApiPinsRemoveRequest
impl Clone for SlackApiPinsRemoveRequest
Source§fn clone(&self) -> SlackApiPinsRemoveRequest
fn clone(&self) -> SlackApiPinsRemoveRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SlackApiPinsRemoveRequest
impl Debug for SlackApiPinsRemoveRequest
Source§impl<'de> Deserialize<'de> for SlackApiPinsRemoveRequest
impl<'de> Deserialize<'de> for SlackApiPinsRemoveRequest
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<SlackApiPinsRemoveRequestInit> for SlackApiPinsRemoveRequest
impl From<SlackApiPinsRemoveRequestInit> for SlackApiPinsRemoveRequest
Source§fn from(value: SlackApiPinsRemoveRequestInit) -> Self
fn from(value: SlackApiPinsRemoveRequestInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackApiPinsRemoveRequest
impl PartialEq for SlackApiPinsRemoveRequest
Source§fn eq(&self, other: &SlackApiPinsRemoveRequest) -> bool
fn eq(&self, other: &SlackApiPinsRemoveRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SlackApiPinsRemoveRequest
Auto Trait Implementations§
impl Freeze for SlackApiPinsRemoveRequest
impl RefUnwindSafe for SlackApiPinsRemoveRequest
impl Send for SlackApiPinsRemoveRequest
impl Sync for SlackApiPinsRemoveRequest
impl Unpin for SlackApiPinsRemoveRequest
impl UnsafeUnpin for SlackApiPinsRemoveRequest
impl UnwindSafe for SlackApiPinsRemoveRequest
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