Struct slack_morphism::SlackAppCredentials
source · pub struct SlackAppCredentials {
pub client_id: SlackClientId,
pub client_secret: SlackClientSecret,
pub verification_token: SlackVerificationToken,
pub signing_secret: SlackSigningSecret,
}Fields
client_id: SlackClientIdclient_secret: SlackClientSecretverification_token: SlackVerificationTokensigning_secret: SlackSigningSecretImplementations
sourceimpl SlackAppCredentials
impl SlackAppCredentials
pub fn new(
client_id: SlackClientId,
client_secret: SlackClientSecret,
verification_token: SlackVerificationToken,
signing_secret: SlackSigningSecret
) -> Self
pub fn client_id(&mut self, value: SlackClientId) -> &mut Self
pub fn with_client_id(self, value: SlackClientId) -> Self
pub fn client_secret(&mut self, value: SlackClientSecret) -> &mut Self
pub fn with_client_secret(self, value: SlackClientSecret) -> Self
pub fn verification_token(&mut self, value: SlackVerificationToken) -> &mut Self
pub fn with_verification_token(self, value: SlackVerificationToken) -> Self
pub fn signing_secret(&mut self, value: SlackSigningSecret) -> &mut Self
pub fn with_signing_secret(self, value: SlackSigningSecret) -> Self
Trait Implementations
sourceimpl Clone for SlackAppCredentials
impl Clone for SlackAppCredentials
sourcefn clone(&self) -> SlackAppCredentials
fn clone(&self) -> SlackAppCredentials
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for SlackAppCredentials
impl Debug for SlackAppCredentials
sourceimpl<'de> Deserialize<'de> for SlackAppCredentials
impl<'de> Deserialize<'de> for SlackAppCredentials
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl From<SlackAppCredentialsInit> for SlackAppCredentials
impl From<SlackAppCredentialsInit> for SlackAppCredentials
sourcefn from(value: SlackAppCredentialsInit) -> Self
fn from(value: SlackAppCredentialsInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackAppCredentials> for SlackAppCredentials
impl PartialEq<SlackAppCredentials> for SlackAppCredentials
sourcefn eq(&self, other: &SlackAppCredentials) -> bool
fn eq(&self, other: &SlackAppCredentials) -> bool
sourceimpl Serialize for SlackAppCredentials
impl Serialize for SlackAppCredentials
impl StructuralPartialEq for SlackAppCredentials
Auto Trait Implementations
impl RefUnwindSafe for SlackAppCredentials
impl Send for SlackAppCredentials
impl Sync for SlackAppCredentials
impl Unpin for SlackAppCredentials
impl UnwindSafe for SlackAppCredentials
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more