[−][src]Struct slack_morphism::listener::SlackOAuthListenerConfig
Fields
client_id: String
client_secret: String
bot_scope: String
redirect_callback_host: String
install_path: String
redirect_callback_path: String
redirect_installed_url: String
redirect_cancelled_url: String
redirect_error_redirect_url: String
Implementations
impl SlackOAuthListenerConfig
[src]
pub fn new(
client_id: String,
client_secret: String,
bot_scope: String,
redirect_callback_host: String
) -> Self
[src]
client_id: String,
client_secret: String,
bot_scope: String,
redirect_callback_host: String
) -> Self
pub fn client_id(&mut self, value: String) -> &mut Self
[src]
pub fn with_client_id(self, value: String) -> Self
[src]
pub fn client_secret(&mut self, value: String) -> &mut Self
[src]
pub fn with_client_secret(self, value: String) -> Self
[src]
pub fn bot_scope(&mut self, value: String) -> &mut Self
[src]
pub fn with_bot_scope(self, value: String) -> Self
[src]
pub fn redirect_callback_host(&mut self, value: String) -> &mut Self
[src]
pub fn with_redirect_callback_host(self, value: String) -> Self
[src]
pub fn install_path(&mut self, value: String) -> &mut Self
[src]
pub fn with_install_path(self, value: String) -> Self
[src]
pub fn redirect_callback_path(&mut self, value: String) -> &mut Self
[src]
pub fn with_redirect_callback_path(self, value: String) -> Self
[src]
pub fn redirect_installed_url(&mut self, value: String) -> &mut Self
[src]
pub fn with_redirect_installed_url(self, value: String) -> Self
[src]
pub fn redirect_cancelled_url(&mut self, value: String) -> &mut Self
[src]
pub fn with_redirect_cancelled_url(self, value: String) -> Self
[src]
pub fn redirect_error_redirect_url(&mut self, value: String) -> &mut Self
[src]
pub fn with_redirect_error_redirect_url(self, value: String) -> Self
[src]
impl SlackOAuthListenerConfig
[src]
pub fn to_redirect_url(&self) -> String
[src]
Trait Implementations
impl Clone for SlackOAuthListenerConfig
[src]
fn clone(&self) -> SlackOAuthListenerConfig
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SlackOAuthListenerConfig
[src]
impl From<SlackOAuthListenerConfigInit> for SlackOAuthListenerConfig
[src]
fn from(value: SlackOAuthListenerConfigInit) -> Self
[src]
impl PartialEq<SlackOAuthListenerConfig> for SlackOAuthListenerConfig
[src]
fn eq(&self, other: &SlackOAuthListenerConfig) -> bool
[src]
fn ne(&self, other: &SlackOAuthListenerConfig) -> bool
[src]
impl StructuralPartialEq for SlackOAuthListenerConfig
[src]
Auto Trait Implementations
impl RefUnwindSafe for SlackOAuthListenerConfig
impl Send for SlackOAuthListenerConfig
impl Sync for SlackOAuthListenerConfig
impl Unpin for SlackOAuthListenerConfig
impl UnwindSafe for SlackOAuthListenerConfig
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,