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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SlackCommandEventsListenerConfig
impl StructuralEq for SlackCommandEventsListenerConfig
impl StructuralPartialEq for SlackCommandEventsListenerConfig
Auto Trait Implementations§
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