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
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackAppManifestSettingsInteractivity
Auto Trait Implementations§
impl Freeze for SlackAppManifestSettingsInteractivity
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)