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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SlackAppManifestDisplayInformation
Auto Trait Implementations§
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