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