Struct slack_morphism::api::SlackApiReactionsGetRequest
source · [−]pub struct SlackApiReactionsGetRequest {
pub channel: Option<SlackChannelId>,
pub file: Option<SlackFileId>,
pub full: Option<bool>,
pub timestamp: Option<SlackTs>,
}Fields
channel: Option<SlackChannelId>file: Option<SlackFileId>full: Option<bool>timestamp: Option<SlackTs>Implementations
sourceimpl SlackApiReactionsGetRequest
impl SlackApiReactionsGetRequest
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 full(&mut self, value: bool) -> &mut Self
pub fn reset_full(&mut self) -> &mut Self
pub fn mopt_full(&mut self, value: Option<bool>) -> &mut Self
pub fn with_full(self, value: bool) -> Self
pub fn without_full(self) -> Self
pub fn opt_full(self, value: Option<bool>) -> 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
sourceimpl Clone for SlackApiReactionsGetRequest
impl Clone for SlackApiReactionsGetRequest
sourcefn clone(&self) -> SlackApiReactionsGetRequest
fn clone(&self) -> SlackApiReactionsGetRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for SlackApiReactionsGetRequest
impl Debug for SlackApiReactionsGetRequest
sourceimpl<'de> Deserialize<'de> for SlackApiReactionsGetRequest
impl<'de> Deserialize<'de> for SlackApiReactionsGetRequest
sourcefn 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
sourceimpl From<SlackApiReactionsGetRequestInit> for SlackApiReactionsGetRequest
impl From<SlackApiReactionsGetRequestInit> for SlackApiReactionsGetRequest
sourcefn from(value: SlackApiReactionsGetRequestInit) -> Self
fn from(value: SlackApiReactionsGetRequestInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackApiReactionsGetRequest> for SlackApiReactionsGetRequest
impl PartialEq<SlackApiReactionsGetRequest> for SlackApiReactionsGetRequest
sourcefn eq(&self, other: &SlackApiReactionsGetRequest) -> bool
fn eq(&self, other: &SlackApiReactionsGetRequest) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SlackApiReactionsGetRequest) -> bool
fn ne(&self, other: &SlackApiReactionsGetRequest) -> bool
This method tests for !=.
impl StructuralPartialEq for SlackApiReactionsGetRequest
Auto Trait Implementations
impl RefUnwindSafe for SlackApiReactionsGetRequest
impl Send for SlackApiReactionsGetRequest
impl Sync for SlackApiReactionsGetRequest
impl Unpin for SlackApiReactionsGetRequest
impl UnwindSafe for SlackApiReactionsGetRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more