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: SlackClientId§client_secret: SlackClientSecret§verification_token: SlackVerificationToken§signing_secret: SlackSigningSecretImplementations§
source§impl 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§
source§impl Clone for SlackAppCredentials
impl Clone for SlackAppCredentials
source§fn clone(&self) -> SlackAppCredentials
fn clone(&self) -> SlackAppCredentials
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 Debug for SlackAppCredentials
impl Debug for SlackAppCredentials
source§impl<'de> Deserialize<'de> for SlackAppCredentials
impl<'de> Deserialize<'de> for SlackAppCredentials
source§fn 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
source§impl From<SlackAppCredentialsInit> for SlackAppCredentials
impl From<SlackAppCredentialsInit> for SlackAppCredentials
source§fn from(value: SlackAppCredentialsInit) -> Self
fn from(value: SlackAppCredentialsInit) -> Self
Converts to this type from the input type.