pub struct SlackAppManifest {
pub metadata: Option<SlackAppManifestMetadata>,
pub display_information: SlackAppManifestDisplayInformation,
pub settings: Option<SlackAppManifestSettings>,
pub features: Option<SlackAppManifestFeatures>,
pub oauth_config: Option<SlackAppManifestOAuthConfig>,
}
Fields§
§metadata: Option<SlackAppManifestMetadata>
§display_information: SlackAppManifestDisplayInformation
§settings: Option<SlackAppManifestSettings>
§features: Option<SlackAppManifestFeatures>
§oauth_config: Option<SlackAppManifestOAuthConfig>
Implementations§
Source§impl SlackAppManifest
impl SlackAppManifest
pub fn new(display_information: SlackAppManifestDisplayInformation) -> Self
pub fn metadata(&mut self, value: SlackAppManifestMetadata) -> &mut Self
pub fn reset_metadata(&mut self) -> &mut Self
pub fn mopt_metadata( &mut self, value: Option<SlackAppManifestMetadata>, ) -> &mut Self
pub fn with_metadata(self, value: SlackAppManifestMetadata) -> Self
pub fn without_metadata(self) -> Self
pub fn opt_metadata(self, value: Option<SlackAppManifestMetadata>) -> Self
pub fn display_information( &mut self, value: SlackAppManifestDisplayInformation, ) -> &mut Self
pub fn with_display_information( self, value: SlackAppManifestDisplayInformation, ) -> Self
pub fn settings(&mut self, value: SlackAppManifestSettings) -> &mut Self
pub fn reset_settings(&mut self) -> &mut Self
pub fn mopt_settings( &mut self, value: Option<SlackAppManifestSettings>, ) -> &mut Self
pub fn with_settings(self, value: SlackAppManifestSettings) -> Self
pub fn without_settings(self) -> Self
pub fn opt_settings(self, value: Option<SlackAppManifestSettings>) -> Self
pub fn features(&mut self, value: SlackAppManifestFeatures) -> &mut Self
pub fn reset_features(&mut self) -> &mut Self
pub fn mopt_features( &mut self, value: Option<SlackAppManifestFeatures>, ) -> &mut Self
pub fn with_features(self, value: SlackAppManifestFeatures) -> Self
pub fn without_features(self) -> Self
pub fn opt_features(self, value: Option<SlackAppManifestFeatures>) -> Self
pub fn oauth_config(&mut self, value: SlackAppManifestOAuthConfig) -> &mut Self
pub fn reset_oauth_config(&mut self) -> &mut Self
pub fn mopt_oauth_config( &mut self, value: Option<SlackAppManifestOAuthConfig>, ) -> &mut Self
pub fn with_oauth_config(self, value: SlackAppManifestOAuthConfig) -> Self
pub fn without_oauth_config(self) -> Self
pub fn opt_oauth_config( self, value: Option<SlackAppManifestOAuthConfig>, ) -> Self
Trait Implementations§
Source§impl Clone for SlackAppManifest
impl Clone for SlackAppManifest
Source§fn clone(&self) -> SlackAppManifest
fn clone(&self) -> SlackAppManifest
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 Debug for SlackAppManifest
impl Debug for SlackAppManifest
Source§impl<'de> Deserialize<'de> for SlackAppManifest
impl<'de> Deserialize<'de> for SlackAppManifest
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<SlackAppManifestInit> for SlackAppManifest
impl From<SlackAppManifestInit> for SlackAppManifest
Source§fn from(value: SlackAppManifestInit) -> Self
fn from(value: SlackAppManifestInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackAppManifest
impl PartialEq for SlackAppManifest
Source§impl Serialize for SlackAppManifest
impl Serialize for SlackAppManifest
impl StructuralPartialEq for SlackAppManifest
Auto Trait Implementations§
impl Freeze for SlackAppManifest
impl RefUnwindSafe for SlackAppManifest
impl Send for SlackAppManifest
impl Sync for SlackAppManifest
impl Unpin for SlackAppManifest
impl UnwindSafe for SlackAppManifest
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
)