pub struct SlackAppManifestSettingsInteractivity {
pub is_enabled: bool,
pub request_url: Option<Url>,
pub message_menu_options_url: Option<Url>,
}Fields§
§is_enabled: bool§request_url: Option<Url>Implementations§
source§impl SlackAppManifestSettingsInteractivity
impl SlackAppManifestSettingsInteractivity
pub fn new(is_enabled: bool) -> Self
pub fn is_enabled(&mut self, value: bool) -> &mut Self
pub fn with_is_enabled(self, value: bool) -> Self
pub fn request_url(&mut self, value: Url) -> &mut Self
pub fn reset_request_url(&mut self) -> &mut Self
pub fn mopt_request_url(&mut self, value: Option<Url>) -> &mut Self
pub fn with_request_url(self, value: Url) -> Self
pub fn without_request_url(self) -> Self
pub fn opt_request_url(self, value: Option<Url>) -> Self
Trait Implementations§
source§impl Clone for SlackAppManifestSettingsInteractivity
impl Clone for SlackAppManifestSettingsInteractivity
source§fn clone(&self) -> SlackAppManifestSettingsInteractivity
fn clone(&self) -> SlackAppManifestSettingsInteractivity
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<'de> Deserialize<'de> for SlackAppManifestSettingsInteractivity
impl<'de> Deserialize<'de> for SlackAppManifestSettingsInteractivity
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<SlackAppManifestSettingsInteractivityInit> for SlackAppManifestSettingsInteractivity
impl From<SlackAppManifestSettingsInteractivityInit> for SlackAppManifestSettingsInteractivity
source§fn from(value: SlackAppManifestSettingsInteractivityInit) -> Self
fn from(value: SlackAppManifestSettingsInteractivityInit) -> Self
Converts to this type from the input type.