pub struct SlackAppManifestFeaturesAppHome {
pub home_tab_enabled: Option<bool>,
pub messages_tab_enabled: Option<bool>,
pub messages_tab_read_only_enabled: Option<bool>,
}
Fields§
§home_tab_enabled: Option<bool>
§messages_tab_enabled: Option<bool>
§messages_tab_read_only_enabled: Option<bool>
Implementations§
source§impl SlackAppManifestFeaturesAppHome
impl SlackAppManifestFeaturesAppHome
pub fn new() -> Self
pub fn home_tab_enabled(&mut self, value: bool) -> &mut Self
pub fn reset_home_tab_enabled(&mut self) -> &mut Self
pub fn mopt_home_tab_enabled(&mut self, value: Option<bool>) -> &mut Self
pub fn with_home_tab_enabled(self, value: bool) -> Self
pub fn without_home_tab_enabled(self) -> Self
pub fn opt_home_tab_enabled(self, value: Option<bool>) -> Self
pub fn messages_tab_enabled(&mut self, value: bool) -> &mut Self
pub fn reset_messages_tab_enabled(&mut self) -> &mut Self
pub fn mopt_messages_tab_enabled(&mut self, value: Option<bool>) -> &mut Self
pub fn with_messages_tab_enabled(self, value: bool) -> Self
pub fn without_messages_tab_enabled(self) -> Self
pub fn opt_messages_tab_enabled(self, value: Option<bool>) -> Self
pub fn messages_tab_read_only_enabled(&mut self, value: bool) -> &mut Self
pub fn reset_messages_tab_read_only_enabled(&mut self) -> &mut Self
pub fn mopt_messages_tab_read_only_enabled( &mut self, value: Option<bool> ) -> &mut Self
pub fn with_messages_tab_read_only_enabled(self, value: bool) -> Self
pub fn without_messages_tab_read_only_enabled(self) -> Self
pub fn opt_messages_tab_read_only_enabled(self, value: Option<bool>) -> Self
Trait Implementations§
source§impl Clone for SlackAppManifestFeaturesAppHome
impl Clone for SlackAppManifestFeaturesAppHome
source§fn clone(&self) -> SlackAppManifestFeaturesAppHome
fn clone(&self) -> SlackAppManifestFeaturesAppHome
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 SlackAppManifestFeaturesAppHome
impl<'de> Deserialize<'de> for SlackAppManifestFeaturesAppHome
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<SlackAppManifestFeaturesAppHomeInit> for SlackAppManifestFeaturesAppHome
impl From<SlackAppManifestFeaturesAppHomeInit> for SlackAppManifestFeaturesAppHome
source§fn from(value: SlackAppManifestFeaturesAppHomeInit) -> Self
fn from(value: SlackAppManifestFeaturesAppHomeInit) -> Self
Converts to this type from the input type.
source§impl PartialEq for SlackAppManifestFeaturesAppHome
impl PartialEq for SlackAppManifestFeaturesAppHome
source§fn eq(&self, other: &SlackAppManifestFeaturesAppHome) -> bool
fn eq(&self, other: &SlackAppManifestFeaturesAppHome) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackAppManifestFeaturesAppHome
Auto Trait Implementations§
impl RefUnwindSafe for SlackAppManifestFeaturesAppHome
impl Send for SlackAppManifestFeaturesAppHome
impl Sync for SlackAppManifestFeaturesAppHome
impl Unpin for SlackAppManifestFeaturesAppHome
impl UnwindSafe for SlackAppManifestFeaturesAppHome
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