pub struct SlackAppManifestDisplayInformation {
pub name: String,
pub description: Option<String>,
pub background_color: Option<String>,
pub long_description: Option<String>,
}
Fields§
§name: String
§description: Option<String>
§background_color: Option<String>
§long_description: Option<String>
Implementations§
Source§impl SlackAppManifestDisplayInformation
impl SlackAppManifestDisplayInformation
pub fn new(name: String) -> Self
pub fn name(&mut self, value: String) -> &mut Self
pub fn with_name(self, value: String) -> Self
pub fn description(&mut self, value: String) -> &mut Self
pub fn reset_description(&mut self) -> &mut Self
pub fn mopt_description(&mut self, value: Option<String>) -> &mut Self
pub fn with_description(self, value: String) -> Self
pub fn without_description(self) -> Self
pub fn opt_description(self, value: Option<String>) -> Self
pub fn background_color(&mut self, value: String) -> &mut Self
pub fn reset_background_color(&mut self) -> &mut Self
pub fn mopt_background_color(&mut self, value: Option<String>) -> &mut Self
pub fn with_background_color(self, value: String) -> Self
pub fn without_background_color(self) -> Self
pub fn opt_background_color(self, value: Option<String>) -> Self
pub fn long_description(&mut self, value: String) -> &mut Self
pub fn reset_long_description(&mut self) -> &mut Self
pub fn mopt_long_description(&mut self, value: Option<String>) -> &mut Self
pub fn with_long_description(self, value: String) -> Self
pub fn without_long_description(self) -> Self
pub fn opt_long_description(self, value: Option<String>) -> Self
Trait Implementations§
Source§impl Clone for SlackAppManifestDisplayInformation
impl Clone for SlackAppManifestDisplayInformation
Source§fn clone(&self) -> SlackAppManifestDisplayInformation
fn clone(&self) -> SlackAppManifestDisplayInformation
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 SlackAppManifestDisplayInformation
impl<'de> Deserialize<'de> for SlackAppManifestDisplayInformation
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<SlackAppManifestDisplayInformationInit> for SlackAppManifestDisplayInformation
impl From<SlackAppManifestDisplayInformationInit> for SlackAppManifestDisplayInformation
Source§fn from(value: SlackAppManifestDisplayInformationInit) -> Self
fn from(value: SlackAppManifestDisplayInformationInit) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SlackAppManifestDisplayInformation
impl PartialEq for SlackAppManifestDisplayInformation
Source§fn eq(&self, other: &SlackAppManifestDisplayInformation) -> bool
fn eq(&self, other: &SlackAppManifestDisplayInformation) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for SlackAppManifestDisplayInformation
Auto Trait Implementations§
impl Freeze for SlackAppManifestDisplayInformation
impl RefUnwindSafe for SlackAppManifestDisplayInformation
impl Send for SlackAppManifestDisplayInformation
impl Sync for SlackAppManifestDisplayInformation
impl Unpin for SlackAppManifestDisplayInformation
impl UnwindSafe for SlackAppManifestDisplayInformation
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
)