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.
source§impl PartialEq for SlackAppManifestSettingsInteractivity
impl PartialEq for SlackAppManifestSettingsInteractivity
source§fn eq(&self, other: &SlackAppManifestSettingsInteractivity) -> bool
fn eq(&self, other: &SlackAppManifestSettingsInteractivity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackAppManifestSettingsInteractivity
Auto Trait Implementations§
impl RefUnwindSafe for SlackAppManifestSettingsInteractivity
impl Send for SlackAppManifestSettingsInteractivity
impl Sync for SlackAppManifestSettingsInteractivity
impl Unpin for SlackAppManifestSettingsInteractivity
impl UnwindSafe for SlackAppManifestSettingsInteractivity
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