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