Struct slack_morphism::apps::SlackAppManifest
source · pub struct SlackAppManifest {
pub metadata: Option<SlackAppManifestMetadata>,
pub display_information: SlackAppManifestDisplayInformation,
pub settings: Option<SlackAppManifestSettings>,
pub features: Option<SlackAppManifestFeatures>,
pub oauth_config: Option<SlackAppManifestOAuthConfig>,
}Fields§
§metadata: Option<SlackAppManifestMetadata>§display_information: SlackAppManifestDisplayInformation§settings: Option<SlackAppManifestSettings>§features: Option<SlackAppManifestFeatures>§oauth_config: Option<SlackAppManifestOAuthConfig>Implementations§
source§impl SlackAppManifest
impl SlackAppManifest
pub fn new(display_information: SlackAppManifestDisplayInformation) -> Self
pub fn metadata(&mut self, value: SlackAppManifestMetadata) -> &mut Self
pub fn reset_metadata(&mut self) -> &mut Self
pub fn mopt_metadata( &mut self, value: Option<SlackAppManifestMetadata> ) -> &mut Self
pub fn with_metadata(self, value: SlackAppManifestMetadata) -> Self
pub fn without_metadata(self) -> Self
pub fn opt_metadata(self, value: Option<SlackAppManifestMetadata>) -> Self
pub fn display_information( &mut self, value: SlackAppManifestDisplayInformation ) -> &mut Self
pub fn with_display_information( self, value: SlackAppManifestDisplayInformation ) -> Self
pub fn settings(&mut self, value: SlackAppManifestSettings) -> &mut Self
pub fn reset_settings(&mut self) -> &mut Self
pub fn mopt_settings( &mut self, value: Option<SlackAppManifestSettings> ) -> &mut Self
pub fn with_settings(self, value: SlackAppManifestSettings) -> Self
pub fn without_settings(self) -> Self
pub fn opt_settings(self, value: Option<SlackAppManifestSettings>) -> Self
pub fn features(&mut self, value: SlackAppManifestFeatures) -> &mut Self
pub fn reset_features(&mut self) -> &mut Self
pub fn mopt_features( &mut self, value: Option<SlackAppManifestFeatures> ) -> &mut Self
pub fn with_features(self, value: SlackAppManifestFeatures) -> Self
pub fn without_features(self) -> Self
pub fn opt_features(self, value: Option<SlackAppManifestFeatures>) -> Self
pub fn oauth_config(&mut self, value: SlackAppManifestOAuthConfig) -> &mut Self
pub fn reset_oauth_config(&mut self) -> &mut Self
pub fn mopt_oauth_config( &mut self, value: Option<SlackAppManifestOAuthConfig> ) -> &mut Self
pub fn with_oauth_config(self, value: SlackAppManifestOAuthConfig) -> Self
pub fn without_oauth_config(self) -> Self
pub fn opt_oauth_config(self, value: Option<SlackAppManifestOAuthConfig>) -> Self
Trait Implementations§
source§impl Clone for SlackAppManifest
impl Clone for SlackAppManifest
source§fn clone(&self) -> SlackAppManifest
fn clone(&self) -> SlackAppManifest
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 SlackAppManifest
impl Debug for SlackAppManifest
source§impl<'de> Deserialize<'de> for SlackAppManifest
impl<'de> Deserialize<'de> for SlackAppManifest
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<SlackAppManifestInit> for SlackAppManifest
impl From<SlackAppManifestInit> for SlackAppManifest
source§fn from(value: SlackAppManifestInit) -> Self
fn from(value: SlackAppManifestInit) -> Self
Converts to this type from the input type.
source§impl PartialEq<SlackAppManifest> for SlackAppManifest
impl PartialEq<SlackAppManifest> for SlackAppManifest
source§fn eq(&self, other: &SlackAppManifest) -> bool
fn eq(&self, other: &SlackAppManifest) -> bool
This method tests for
self and other values to be equal, and is used
by ==.