Struct slack_morphism::SlackAppManifestSettings
source · pub struct SlackAppManifestSettings {
pub allowed_ip_address_ranges: Option<Vec<String>>,
pub event_subscriptions: Option<SlackAppManifestSettingsEventSubscriptions>,
pub interactivity: Option<SlackAppManifestSettingsInteractivity>,
pub org_deploy_enabled: Option<bool>,
pub socket_mode_enabled: Option<bool>,
}Fields§
§allowed_ip_address_ranges: Option<Vec<String>>§event_subscriptions: Option<SlackAppManifestSettingsEventSubscriptions>§interactivity: Option<SlackAppManifestSettingsInteractivity>§org_deploy_enabled: Option<bool>§socket_mode_enabled: Option<bool>Implementations§
source§impl SlackAppManifestSettings
impl SlackAppManifestSettings
pub fn new() -> Self
pub fn allowed_ip_address_ranges(&mut self, value: Vec<String>) -> &mut Self
pub fn reset_allowed_ip_address_ranges(&mut self) -> &mut Self
pub fn mopt_allowed_ip_address_ranges( &mut self, value: Option<Vec<String>> ) -> &mut Self
pub fn with_allowed_ip_address_ranges(self, value: Vec<String>) -> Self
pub fn without_allowed_ip_address_ranges(self) -> Self
pub fn opt_allowed_ip_address_ranges(self, value: Option<Vec<String>>) -> Self
pub fn event_subscriptions( &mut self, value: SlackAppManifestSettingsEventSubscriptions ) -> &mut Self
pub fn reset_event_subscriptions(&mut self) -> &mut Self
pub fn mopt_event_subscriptions( &mut self, value: Option<SlackAppManifestSettingsEventSubscriptions> ) -> &mut Self
pub fn with_event_subscriptions( self, value: SlackAppManifestSettingsEventSubscriptions ) -> Self
pub fn without_event_subscriptions(self) -> Self
pub fn opt_event_subscriptions( self, value: Option<SlackAppManifestSettingsEventSubscriptions> ) -> Self
pub fn interactivity( &mut self, value: SlackAppManifestSettingsInteractivity ) -> &mut Self
pub fn reset_interactivity(&mut self) -> &mut Self
pub fn mopt_interactivity( &mut self, value: Option<SlackAppManifestSettingsInteractivity> ) -> &mut Self
pub fn with_interactivity( self, value: SlackAppManifestSettingsInteractivity ) -> Self
pub fn without_interactivity(self) -> Self
pub fn opt_interactivity( self, value: Option<SlackAppManifestSettingsInteractivity> ) -> Self
pub fn org_deploy_enabled(&mut self, value: bool) -> &mut Self
pub fn reset_org_deploy_enabled(&mut self) -> &mut Self
pub fn mopt_org_deploy_enabled(&mut self, value: Option<bool>) -> &mut Self
pub fn with_org_deploy_enabled(self, value: bool) -> Self
pub fn without_org_deploy_enabled(self) -> Self
pub fn opt_org_deploy_enabled(self, value: Option<bool>) -> Self
pub fn socket_mode_enabled(&mut self, value: bool) -> &mut Self
pub fn reset_socket_mode_enabled(&mut self) -> &mut Self
pub fn mopt_socket_mode_enabled(&mut self, value: Option<bool>) -> &mut Self
pub fn with_socket_mode_enabled(self, value: bool) -> Self
pub fn without_socket_mode_enabled(self) -> Self
pub fn opt_socket_mode_enabled(self, value: Option<bool>) -> Self
Trait Implementations§
source§impl Clone for SlackAppManifestSettings
impl Clone for SlackAppManifestSettings
source§fn clone(&self) -> SlackAppManifestSettings
fn clone(&self) -> SlackAppManifestSettings
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 SlackAppManifestSettings
impl Debug for SlackAppManifestSettings
source§impl<'de> Deserialize<'de> for SlackAppManifestSettings
impl<'de> Deserialize<'de> for SlackAppManifestSettings
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<SlackAppManifestSettingsInit> for SlackAppManifestSettings
impl From<SlackAppManifestSettingsInit> for SlackAppManifestSettings
source§fn from(value: SlackAppManifestSettingsInit) -> Self
fn from(value: SlackAppManifestSettingsInit) -> Self
Converts to this type from the input type.
source§impl PartialEq<SlackAppManifestSettings> for SlackAppManifestSettings
impl PartialEq<SlackAppManifestSettings> for SlackAppManifestSettings
source§fn eq(&self, other: &SlackAppManifestSettings) -> bool
fn eq(&self, other: &SlackAppManifestSettings) -> bool
This method tests for
self and other values to be equal, and is used
by ==.