pub struct SlackCommandEventsListenerConfig {
pub events_signing_secret: SlackSigningSecret,
pub events_path: String,
}
Fields§
§events_signing_secret: SlackSigningSecret
§events_path: String
Implementations§
Source§impl SlackCommandEventsListenerConfig
impl SlackCommandEventsListenerConfig
pub fn new(events_signing_secret: SlackSigningSecret) -> Self
pub fn events_signing_secret(&mut self, value: SlackSigningSecret) -> &mut Self
pub fn with_events_signing_secret(self, value: SlackSigningSecret) -> Self
pub fn events_path(&mut self, value: String) -> &mut Self
pub fn with_events_path(self, value: String) -> Self
Source§impl SlackCommandEventsListenerConfig
impl SlackCommandEventsListenerConfig
pub const DEFAULT_EVENTS_URL_VALUE: &'static str = "/command"
Trait Implementations§
Source§impl Clone for SlackCommandEventsListenerConfig
impl Clone for SlackCommandEventsListenerConfig
Source§fn clone(&self) -> SlackCommandEventsListenerConfig
fn clone(&self) -> SlackCommandEventsListenerConfig
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 From<SlackCommandEventsListenerConfigInit> for SlackCommandEventsListenerConfig
impl From<SlackCommandEventsListenerConfigInit> for SlackCommandEventsListenerConfig
Source§fn from(value: SlackCommandEventsListenerConfigInit) -> Self
fn from(value: SlackCommandEventsListenerConfigInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackCommandEventsListenerConfig
impl PartialEq for SlackCommandEventsListenerConfig
Source§fn eq(&self, other: &SlackCommandEventsListenerConfig) -> bool
fn eq(&self, other: &SlackCommandEventsListenerConfig) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl Eq for SlackCommandEventsListenerConfig
impl StructuralPartialEq for SlackCommandEventsListenerConfig
Auto Trait Implementations§
impl Freeze for SlackCommandEventsListenerConfig
impl RefUnwindSafe for SlackCommandEventsListenerConfig
impl Send for SlackCommandEventsListenerConfig
impl Sync for SlackCommandEventsListenerConfig
impl Unpin for SlackCommandEventsListenerConfig
impl UnwindSafe for SlackCommandEventsListenerConfig
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
)