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
sourceimpl 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
sourceimpl Clone for SlackAppManifestSettings
impl Clone for SlackAppManifestSettings
sourcefn clone(&self) -> SlackAppManifestSettings
fn clone(&self) -> SlackAppManifestSettings
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 SlackAppManifestSettings
impl Debug for SlackAppManifestSettings
sourceimpl<'de> Deserialize<'de> for SlackAppManifestSettings
impl<'de> Deserialize<'de> for SlackAppManifestSettings
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<SlackAppManifestSettingsInit> for SlackAppManifestSettings
impl From<SlackAppManifestSettingsInit> for SlackAppManifestSettings
sourcefn from(value: SlackAppManifestSettingsInit) -> Self
fn from(value: SlackAppManifestSettingsInit) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<SlackAppManifestSettings> for SlackAppManifestSettings
impl PartialEq<SlackAppManifestSettings> for SlackAppManifestSettings
sourcefn eq(&self, other: &SlackAppManifestSettings) -> bool
fn eq(&self, other: &SlackAppManifestSettings) -> bool
sourceimpl Serialize for SlackAppManifestSettings
impl Serialize for SlackAppManifestSettings
impl StructuralPartialEq for SlackAppManifestSettings
Auto Trait Implementations
impl RefUnwindSafe for SlackAppManifestSettings
impl Send for SlackAppManifestSettings
impl Sync for SlackAppManifestSettings
impl Unpin for SlackAppManifestSettings
impl UnwindSafe for SlackAppManifestSettings
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