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: SlackSigningSecret
Implementations§
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.
source§impl PartialEq for SlackAppCredentials
impl PartialEq for SlackAppCredentials
source§fn eq(&self, other: &SlackAppCredentials) -> bool
fn eq(&self, other: &SlackAppCredentials) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl 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§
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